Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:51:46

0001 // This file is part of Eigen, a lightweight C++ template library
0002 // for linear algebra.
0003 //
0004 // Copyright (C) 2020, Arm Limited and Contributors
0005 //
0006 // This Source Code Form is subject to the terms of the Mozilla
0007 // Public License v. 2.0. If a copy of the MPL was not distributed
0008 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
0009 
0010 #ifndef EIGEN_MATH_FUNCTIONS_SVE_H
0011 #define EIGEN_MATH_FUNCTIONS_SVE_H
0012 
0013 namespace Eigen {
0014 namespace internal {
0015 
0016 template <>
0017 EIGEN_STRONG_INLINE EIGEN_UNUSED PacketXf pexp<PacketXf>(const PacketXf& x) {
0018   return pexp_float(x);
0019 }
0020 
0021 template <>
0022 EIGEN_STRONG_INLINE EIGEN_UNUSED PacketXf plog<PacketXf>(const PacketXf& x) {
0023   return plog_float(x);
0024 }
0025 
0026 template <>
0027 EIGEN_STRONG_INLINE EIGEN_UNUSED PacketXf psin<PacketXf>(const PacketXf& x) {
0028   return psin_float(x);
0029 }
0030 
0031 template <>
0032 EIGEN_STRONG_INLINE EIGEN_UNUSED PacketXf pcos<PacketXf>(const PacketXf& x) {
0033   return pcos_float(x);
0034 }
0035 
0036 // Hyperbolic Tangent function.
0037 template <>
0038 EIGEN_STRONG_INLINE EIGEN_UNUSED PacketXf ptanh<PacketXf>(const PacketXf& x) {
0039   return internal::generic_fast_tanh_float(x);
0040 }
0041 }  // end namespace internal
0042 }  // end namespace Eigen
0043 
0044 #endif  // EIGEN_MATH_FUNCTIONS_SVE_H