Go to the documentation of this file.
6 #ifndef __pinocchio_math_sincos_hpp__
7 #define __pinocchio_math_sincos_hpp__
14 template<
typename S1,
typename S2 = S1,
typename S3 = S1>
26 template<
typename S1,
typename S2,
typename S3>
27 void SINCOS(
const S1 &
a, S2 * sa, S3 * ca)
33 template<
typename S1,
typename S2,
typename S3>
36 static void run(
const S1 &
a, S2 * sa, S3 * ca)
49 static void run(
const double &
a,
double * sa,
double * ca)
55 #else // if sincos specialization does not exist
66 static void run(
const float &
a,
float * sa,
float * ca)
72 #else // if sincosf specialization does not exist
83 static void run(
const long double &
a,
long double * sa,
long double * ca)
87 #else // if sincosl specialization does not exist
96 #endif // #ifndef __pinocchio_math_sincos_hpp__
Generic evaluation of sin/cos functions.
void SINCOS(const S1 &a, S2 *sa, S3 *ca)
Computes sin/cos values of a given input scalar.
static void run(const S1 &a, S2 *sa, S3 *ca)
static void run(const float &a, float *sa, float *ca)
static void run(const double &a, double *sa, double *ca)
static void run(const long double &a, long double *sa, long double *ca)
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:12