BesselFunctionsHalf.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 // This Source Code Form is subject to the terms of the Mozilla
5 // Public License v. 2.0. If a copy of the MPL was not distributed
6 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 
8 #ifndef EIGEN_BESSELFUNCTIONS_HALF_H
9 #define EIGEN_BESSELFUNCTIONS_HALF_H
10 
11 namespace Eigen {
12 namespace numext {
13 
14 #if EIGEN_HAS_C99_MATH
15 template <>
17  return Eigen::half(Eigen::numext::bessel_i0(static_cast<float>(x)));
18 }
19 template <>
21  return Eigen::half(Eigen::numext::bessel_i0e(static_cast<float>(x)));
22 }
23 template <>
25  return Eigen::half(Eigen::numext::bessel_i1(static_cast<float>(x)));
26 }
27 template <>
29  return Eigen::half(Eigen::numext::bessel_i1e(static_cast<float>(x)));
30 }
32  return Eigen::half(Eigen::numext::bessel_j0(static_cast<float>(x)));
33 }
34 template <>
36  return Eigen::half(Eigen::numext::bessel_j1(static_cast<float>(x)));
37 }
38 template <>
40  return Eigen::half(Eigen::numext::bessel_y0(static_cast<float>(x)));
41 }
42 template <>
44  return Eigen::half(Eigen::numext::bessel_y1(static_cast<float>(x)));
45 }
47  return Eigen::half(Eigen::numext::bessel_k0(static_cast<float>(x)));
48 }
49 template <>
51  return Eigen::half(Eigen::numext::bessel_k0e(static_cast<float>(x)));
52 }
53 template <>
55  return Eigen::half(Eigen::numext::bessel_k1(static_cast<float>(x)));
56 }
57 template <>
59  return Eigen::half(Eigen::numext::bessel_k1e(static_cast<float>(x)));
60 }
61 #endif
62 
63 } // end namespace numext
64 } // end namespace Eigen
65 
66 #endif // EIGEN_BESSELFUNCTIONS_HALF_H
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1e_op< typename Derived::Scalar >, const Derived > bessel_k1e(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1e_op< typename Derived::Scalar >, const Derived > bessel_i1e(const Eigen::ArrayBase< Derived > &x)
#define EIGEN_STRONG_INLINE
Definition: Macros.h:917
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j1_op< typename Derived::Scalar >, const Derived > bessel_j1(const Eigen::ArrayBase< Derived > &x)
EIGEN_DEVICE_FUNC const Scalar & x
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y0_op< typename Derived::Scalar >, const Derived > bessel_y0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0e_op< typename Derived::Scalar >, const Derived > bessel_i0e(const Eigen::ArrayBase< Derived > &x)
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:976
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0_op< typename Derived::Scalar >, const Derived > bessel_i0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1_op< typename Derived::Scalar >, const Derived > bessel_k1(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0e_op< typename Derived::Scalar >, const Derived > bessel_k0e(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y1_op< typename Derived::Scalar >, const Derived > bessel_y1(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0_op< typename Derived::Scalar >, const Derived > bessel_k0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j0_op< typename Derived::Scalar >, const Derived > bessel_j0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1_op< typename Derived::Scalar >, const Derived > bessel_i1(const Eigen::ArrayBase< Derived > &x)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:33:58