src
extern
eigen3
unsupported
Eigen
CXX11
src
Tensor
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
<
26
internal::scalar_betainc_op<typename XDerived::Scalar>
,
const
ADerived,
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
Eigen
Definition:
common.h:73
b
Scalar * b
Definition:
cholesky.cpp:56
Eigen::betainc
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorCwiseTernaryOp< internal::scalar_betainc_op< typename XDerived::Scalar >, const ADerived, const BDerived, const XDerived > betainc(const ADerived &a, const BDerived &b, const XDerived &x)
Definition:
TensorGlobalFunctions.h:24
x
Scalar * x
Definition:
level1_cplx_impl.h:89
EIGEN_STRONG_INLINE
#define EIGEN_STRONG_INLINE
Definition:
Macros.h:494
a
Scalar * a
Definition:
cholesky.cpp:26
Eigen::internal::scalar_betainc_op
Definition:
ForwardDeclarations.h:219
Eigen::TensorCwiseTernaryOp
Definition:
TensorExpr.h:264
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:06:45