pinocchio  3.7.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
 
Loading...
Searching...
No Matches
TaylorSeriesExpansion< Scalar > Struct Template Reference

  More...

#include <pinocchio/math/taylor-expansion.hpp>

Inheritance diagram for TaylorSeriesExpansion< Scalar >:

Static Public Member Functions

template<int degree>
static Scalar precision ()
 Computes the expected tolerance of the argument of a Taylor series expansion for a certain degree according to the machine precision of the given input Scalar.
 
static Scalar precision (const int degree)
 

Detailed Description

template<typename Scalar>
struct pinocchio::TaylorSeriesExpansion< Scalar >

 

Helper struct to retrieve some useful information for a Taylor series expansion according to the a given Scalar type.

Foward declaration of TaylorSeriesExpansion.

Template Parameters
Scalarthe Scalar type of the Taylor series expansion.

Definition at line 21 of file taylor-expansion.hpp.

Member Function Documentation

◆ precision() [1/2]

template<typename Scalar >
template<int degree>
static Scalar precision ( )
inlinestatic

Computes the expected tolerance of the argument of a Taylor series expansion for a certain degree according to the machine precision of the given input Scalar.

Template Parameters
degreethe degree of the Taylor series expansion.

Definition at line 31 of file taylor-expansion.hpp.

◆ precision() [2/2]

template<typename Scalar >
static Scalar precision ( const int  degree)
inlinestatic

Definition at line 38 of file taylor-expansion.hpp.


The documentation for this struct was generated from the following files: