TensorGlobalFunctions.h
Go to the documentation of this file.
1 // This file is part of Eigen, a lightweight C++ template library
2 // for linear algebra.
3 //
4 // Copyright (C) 2016 Eugene Brevdo <ebrevdo@gmail.com>
5 //
6 // This Source Code Form is subject to the terms of the Mozilla
7 // Public License v. 2.0. If a copy of the MPL was not distributed
8 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 
10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
11 #define EIGEN_CXX11_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
12 
13 namespace Eigen {
14 
20 template <typename ADerived, typename BDerived, typename XDerived>
21 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const
22  TensorCwiseTernaryOp<internal::scalar_betainc_op<typename XDerived::Scalar>,
23  const ADerived, const BDerived, const XDerived>
24  betainc(const ADerived& a, const BDerived& b, const XDerived& x) {
25  return TensorCwiseTernaryOp<
27  const BDerived, const XDerived>(
28  a, b, x, internal::scalar_betainc_op<typename XDerived::Scalar>());
29 }
30 
31 } // end namespace Eigen
32 
33 #endif // EIGEN_CXX11_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
#define EIGEN_STRONG_INLINE
Definition: Macros.h:493
Definition: LDLT.h:16
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorCwiseTernaryOp< internal::scalar_betainc_op< typename XDerived::Scalar >, const ADerived, const BDerived, const XDerived > betainc(const ADerived &a, const BDerived &b, const XDerived &x)
EIGEN_DEVICE_FUNC const Scalar & b


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:21