BesselFunctionsArrayAPI.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 Gael Guennebaud <gael.guennebaud@inria.fr>
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 
11 #ifndef EIGEN_BESSELFUNCTIONS_ARRAYAPI_H
12 #define EIGEN_BESSELFUNCTIONS_ARRAYAPI_H
13 
14 #include "./InternalHeaderCheck.h"
15 
16 namespace Eigen {
17 
31 template <typename Derived>
32 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
33  Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>, const Derived>
35  return Eigen::CwiseUnaryOp<
36  Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>,
37  const Derived>(x.derived());
38 }
39 
54 template <typename Derived>
55 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
56  Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>, const Derived>
58  return Eigen::CwiseUnaryOp<
59  Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>,
60  const Derived>(x.derived());
61 }
62 
76 template <typename Derived>
77 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
78  Eigen::internal::scalar_bessel_i1_op<typename Derived::Scalar>, const Derived>
80  return Eigen::CwiseUnaryOp<
81  Eigen::internal::scalar_bessel_i1_op<typename Derived::Scalar>,
82  const Derived>(x.derived());
83 }
84 
99 template <typename Derived>
100 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
101  Eigen::internal::scalar_bessel_i1e_op<typename Derived::Scalar>, const Derived>
103  return Eigen::CwiseUnaryOp<
104  Eigen::internal::scalar_bessel_i1e_op<typename Derived::Scalar>,
105  const Derived>(x.derived());
106 }
107 
121 template <typename Derived>
122 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
123  Eigen::internal::scalar_bessel_k0_op<typename Derived::Scalar>, const Derived>
125  return Eigen::CwiseUnaryOp<
126  Eigen::internal::scalar_bessel_k0_op<typename Derived::Scalar>,
127  const Derived>(x.derived());
128 }
129 
144 template <typename Derived>
145 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
146  Eigen::internal::scalar_bessel_k0e_op<typename Derived::Scalar>, const Derived>
148  return Eigen::CwiseUnaryOp<
149  Eigen::internal::scalar_bessel_k0e_op<typename Derived::Scalar>,
150  const Derived>(x.derived());
151 }
152 
166 template <typename Derived>
167 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
168  Eigen::internal::scalar_bessel_k1_op<typename Derived::Scalar>, const Derived>
170  return Eigen::CwiseUnaryOp<
171  Eigen::internal::scalar_bessel_k1_op<typename Derived::Scalar>,
172  const Derived>(x.derived());
173 }
174 
189 template <typename Derived>
190 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
191  Eigen::internal::scalar_bessel_k1e_op<typename Derived::Scalar>, const Derived>
193  return Eigen::CwiseUnaryOp<
194  Eigen::internal::scalar_bessel_k1e_op<typename Derived::Scalar>,
195  const Derived>(x.derived());
196 }
197 
211 template <typename Derived>
212 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
213  Eigen::internal::scalar_bessel_j0_op<typename Derived::Scalar>, const Derived>
215  return Eigen::CwiseUnaryOp<
216  Eigen::internal::scalar_bessel_j0_op<typename Derived::Scalar>,
217  const Derived>(x.derived());
218 }
219 
233 template <typename Derived>
234 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
235  Eigen::internal::scalar_bessel_y0_op<typename Derived::Scalar>, const Derived>
237  return Eigen::CwiseUnaryOp<
238  Eigen::internal::scalar_bessel_y0_op<typename Derived::Scalar>,
239  const Derived>(x.derived());
240 }
241 
255 template <typename Derived>
256 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
257  Eigen::internal::scalar_bessel_j1_op<typename Derived::Scalar>, const Derived>
259  return Eigen::CwiseUnaryOp<
260  Eigen::internal::scalar_bessel_j1_op<typename Derived::Scalar>,
261  const Derived>(x.derived());
262 }
263 
277 template <typename Derived>
278 EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp<
279  Eigen::internal::scalar_bessel_y1_op<typename Derived::Scalar>, const Derived>
281  return Eigen::CwiseUnaryOp<
282  Eigen::internal::scalar_bessel_y1_op<typename Derived::Scalar>,
283  const Derived>(x.derived());
284 }
285 
286 } // end namespace Eigen
287 
288 #endif // EIGEN_BESSELFUNCTIONS_ARRAYAPI_H
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j1_op< typename Derived::Scalar >, const Derived > bessel_j1(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0_op< typename Derived::Scalar >, const Derived > bessel_k0(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y1_op< typename Derived::Scalar >, const Derived > bessel_y1(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j0_op< typename Derived::Scalar >, const Derived > bessel_j0(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1_op< typename Derived::Scalar >, const Derived > bessel_k1(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0e_op< typename Derived::Scalar >, const Derived > bessel_k0e(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y0_op< typename Derived::Scalar >, const Derived > bessel_y0(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0_op< typename Derived::Scalar >, const Derived > bessel_i0(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1_op< typename Derived::Scalar >, const Derived > bessel_i1(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1e_op< typename Derived::Scalar >, const Derived > bessel_i1e(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0e_op< typename Derived::Scalar >, const Derived > bessel_i0e(const Eigen::ArrayBase< Derived > &x)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1e_op< typename Derived::Scalar >, const Derived > bessel_k1e(const Eigen::ArrayBase< Derived > &x)