11#ifndef EIGEN_STEM_FUNCTION
12#define EIGEN_STEM_FUNCTION
15#include "./InternalHeaderCheck.h"
22template <
typename Scalar>
23Scalar stem_function_exp(Scalar x,
int) {
29template <
typename Scalar>
30Scalar stem_function_cos(Scalar x,
int n) {
38 res = -numext::sin(x);
41 res = -numext::cos(x);
51template <
typename Scalar>
52Scalar stem_function_sin(Scalar x,
int n) {
63 res = -numext::sin(x);
66 res = -numext::cos(x);
73template <
typename Scalar>
74Scalar stem_function_cosh(Scalar x,
int n) {
79 res = numext::cosh(x);
82 res = numext::sinh(x);
89template <
typename Scalar>
90Scalar stem_function_sinh(Scalar x,
int n) {
95 res = numext::sinh(x);
98 res = numext::cosh(x);
Namespace containing all symbols from the Eigen library.