Eigen/src/Core/arch/AltiVec/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) 2007 Julien Pommier
5 // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
6 // Copyright (C) 2016 Konstantinos Margaritis <markos@freevec.org>
7 //
8 // This Source Code Form is subject to the terms of the Mozilla
9 // Public License v. 2.0. If a copy of the MPL was not distributed
10 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 
12 #ifndef EIGEN_MATH_FUNCTIONS_ALTIVEC_H
13 #define EIGEN_MATH_FUNCTIONS_ALTIVEC_H
14 
15 namespace Eigen {
16 
17 namespace internal {
18 
21 {
22  return plog_float(_x);
23 }
24 
27 {
28  return pexp_float(_x);
29 }
30 
33 {
34  return psin_float(_x);
35 }
36 
39 {
40  return pcos_float(_x);
41 }
42 
43 #ifndef EIGEN_COMP_CLANG
46 {
47  return vec_rsqrt(x);
48 }
49 #endif
50 
51 #ifdef __VSX__
52 #ifndef EIGEN_COMP_CLANG
55 {
56  return vec_rsqrt(x);
57 }
58 #endif
59 
62 {
63  return vec_sqrt(x);
64 }
65 
68 {
69  return vec_sqrt(x);
70 }
71 
74 {
75  return pexp_double(_x);
76 }
77 #endif
78 
79 // Hyperbolic Tangent function.
80 template <>
84 }
85 
86 } // end namespace internal
87 
88 } // end namespace Eigen
89 
90 #endif // EIGEN_MATH_FUNCTIONS_ALTIVEC_H
Eigen::internal::psqrt< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f psqrt< Packet4f >(const Packet4f &x)
Definition: Eigen/src/Core/arch/SSE/MathFunctions.h:105
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
Eigen::internal::Packet4f
__vector float Packet4f
Definition: AltiVec/PacketMath.h:30
Eigen::internal::pexp< Packet2d >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet2d pexp< Packet2d >(const Packet2d &_x)
Definition: Eigen/src/Core/arch/MSA/MathFunctions.h:326
x
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition: gnuplot_common_settings.hh:12
Eigen::internal::pexp_float
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet pexp_float(const Packet _x)
Definition: GenericPacketMathFunctions.h:439
Eigen::internal::pcos< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f pcos< Packet4f >(const Packet4f &_x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:38
Eigen::internal::plog_float
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet plog_float(const Packet _x)
Definition: GenericPacketMathFunctions.h:254
Eigen::internal::ptanh< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f ptanh< Packet4f >(const Packet4f &x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:82
Eigen::internal::prsqrt< Packet2d >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet2d prsqrt< Packet2d >(const Packet2d &x)
Definition: Eigen/src/Core/arch/SSE/MathFunctions.h:160
Eigen::internal::psin< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f psin< Packet4f >(const Packet4f &_x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:32
Eigen::internal::pexp< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f pexp< Packet4f >(const Packet4f &_x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:26
Eigen::internal::generic_fast_tanh_float
T generic_fast_tanh_float(const T &a_x)
Definition: MathFunctionsImpl.h:29
Eigen::internal::Packet2d
v2f64 Packet2d
Definition: MSA/PacketMath.h:820
Eigen::internal::pcos_float
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet pcos_float(const Packet &x)
Definition: GenericPacketMathFunctions.h:755
Eigen::internal::psqrt< Packet2d >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet2d psqrt< Packet2d >(const Packet2d &x)
Definition: Eigen/src/Core/arch/SSE/MathFunctions.h:110
Eigen::internal::plog< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f plog< Packet4f >(const Packet4f &_x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:20
Eigen::internal::psin_float
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet psin_float(const Packet &x)
Definition: GenericPacketMathFunctions.h:747
Eigen::internal::prsqrt< Packet4f >
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f prsqrt< Packet4f >(const Packet4f &x)
Definition: Eigen/src/Core/arch/AltiVec/MathFunctions.h:45
EIGEN_UNUSED
#define EIGEN_UNUSED
Definition: Macros.h:1067
internal
Definition: BandTriangularSolver.h:13
Eigen::internal::pexp_double
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet pexp_double(const Packet _x)
Definition: GenericPacketMathFunctions.h:490
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
#define EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
Definition: Macros.h:985


gtsam
Author(s):
autogenerated on Sat Jun 1 2024 03:02:14