Template Function pinocchio::SINCOS

Function Documentation

template<typename S1, typename S2, typename S3>
void pinocchio::SINCOS(const S1 &a, S2 *sa, S3 *ca)

Computes sin/cos values of a given input scalar.

Template Parameters:

Scalar – Type of the input/output variables

Parameters:
  • a[in] The input scalar from which we evalute the sin and cos.

  • sa[out] Variable containing the sin of a.

  • ca[out] Variable containing the cos of a.