Eigen-Contrib  5.0.1
 
Loading...
Searching...
No Matches
TensorGlobalFunctions.h
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// SPDX-License-Identifier: MPL-2.0
10
11#ifndef EIGEN_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
12#define EIGEN_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
13
14// IWYU pragma: private
15#include "./InternalHeaderCheck.h"
16
17namespace Eigen {
18
24template <typename ADerived, typename BDerived, typename XDerived>
25EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorCwiseTernaryOp<internal::scalar_betainc_op<typename XDerived::Scalar>,
26 const ADerived, const BDerived, const XDerived>
30 return TensorCwiseTernaryOp<internal::scalar_betainc_op<typename XDerived::Scalar>, const ADerived, const BDerived,
31 const XDerived>(a.derived(), b.derived(), x.derived(),
32 internal::scalar_betainc_op<typename XDerived::Scalar>());
33}
34
35} // end namespace Eigen
36
37#endif // EIGEN_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H
The tensor base class.
Definition TensorForwardDeclarations.h:69
Namespace containing all symbols from the Eigen library.
const Eigen::CwiseTernaryOp< Eigen::internal::scalar_betainc_op< typename ArgXDerived::Scalar >, const ArgADerived, const ArgBDerived, const ArgXDerived > betainc(const Eigen::ArrayBase< ArgADerived > &a, const Eigen::ArrayBase< ArgBDerived > &b, const Eigen::ArrayBase< ArgXDerived > &x)
Definition SpecialFunctionsArrayAPI.h:120