Eigen  3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
 
Loading...
Searching...
No Matches
arch/SVE/MathFunctions.h
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
16namespace Eigen {
17namespace internal {
18
19template <>
20EIGEN_STRONG_INLINE PacketXf pexp<PacketXf>(const PacketXf& x) {
21 return pexp_float(x);
22}
23
24template <>
25EIGEN_STRONG_INLINE PacketXf plog<PacketXf>(const PacketXf& x) {
26 return plog_float(x);
27}
28
29template <>
30EIGEN_STRONG_INLINE PacketXf psin<PacketXf>(const PacketXf& x) {
31 return psin_float(x);
32}
33
34template <>
35EIGEN_STRONG_INLINE PacketXf pcos<PacketXf>(const PacketXf& x) {
36 return pcos_float(x);
37}
38
39// Hyperbolic Tangent function.
40template <>
41EIGEN_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
Namespace containing all symbols from the Eigen library.
Definition Core:137