arch/SVE/MathFunctions.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) 2020, Arm Limited and Contributors
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_MATH_FUNCTIONS_SVE_H
11 #define EIGEN_MATH_FUNCTIONS_SVE_H
12 
13 // IWYU pragma: private
14 #include "../../InternalHeaderCheck.h"
15 
16 namespace Eigen {
17 namespace internal {
18 
19 template <>
20 EIGEN_STRONG_INLINE PacketXf pexp<PacketXf>(const PacketXf& x) {
21  return pexp_float(x);
22 }
23 
24 template <>
25 EIGEN_STRONG_INLINE PacketXf plog<PacketXf>(const PacketXf& x) {
26  return plog_float(x);
27 }
28 
29 template <>
30 EIGEN_STRONG_INLINE PacketXf psin<PacketXf>(const PacketXf& x) {
31  return psin_float(x);
32 }
33 
34 template <>
35 EIGEN_STRONG_INLINE PacketXf pcos<PacketXf>(const PacketXf& x) {
36  return pcos_float(x);
37 }
38 
39 // Hyperbolic Tangent function.
40 template <>
41 EIGEN_STRONG_INLINE PacketXf ptanh<PacketXf>(const PacketXf& x) {
42  return ptanh_float(x);
43 }
44 
45 } // end namespace internal
46 } // end namespace Eigen
47 
48 #endif // EIGEN_MATH_FUNCTIONS_SVE_H
#define EIGEN_STRONG_INLINE
Definition: Macros.h:834
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet psin_float(const Packet &x)
Definition: GenericPacketMathFunctions.h:820
EIGEN_STRONG_INLINE PacketXf psin< PacketXf >(const PacketXf &x)
Definition: arch/SVE/MathFunctions.h:30
EIGEN_STRONG_INLINE PacketXf pexp< PacketXf >(const PacketXf &x)
Definition: arch/SVE/MathFunctions.h:20
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pcos_float(const Packet &x)
Definition: GenericPacketMathFunctions.h:825
EIGEN_STRONG_INLINE PacketXf ptanh< PacketXf >(const PacketXf &x)
Definition: arch/SVE/MathFunctions.h:41
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS T ptanh_float(const T &a_x)
Definition: GenericPacketMathFunctions.h:1155
EIGEN_STRONG_INLINE PacketXf plog< PacketXf >(const PacketXf &x)
Definition: arch/SVE/MathFunctions.h:25
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pexp_float(const Packet _x)
Definition: GenericPacketMathFunctions.h:509
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet plog_float(const Packet _x)
Definition: GenericPacketMathFunctions.h:352
EIGEN_STRONG_INLINE PacketXf pcos< PacketXf >(const PacketXf &x)
Definition: arch/SVE/MathFunctions.h:35
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
Definition: Eigen_Colamd.h:49
list x
Definition: plotDoE.py:28