adtl Namespace Reference

Functions

adouble abs (const adouble &x)
 
adouble abs2 (const adouble &x)
 
const adouble & conj (const adouble &x)
 
adouble imag (const adouble &)
 
bool() isinf (const adouble &x)
 
bool() isnan (const adouble &x)
 
const adouble & real (const adouble &x)
 

Function Documentation

◆ abs()

adouble adtl::abs ( const adouble &  x)
inline

Definition at line 74 of file AdolcForward.

74 { return fabs(x); }

◆ abs2()

adouble adtl::abs2 ( const adouble &  x)
inline

Definition at line 75 of file AdolcForward.

75 { return x*x; }

◆ conj()

const adouble& adtl::conj ( const adouble &  x)
inline

Definition at line 71 of file AdolcForward.

71 { return x; }

◆ imag()

adouble adtl::imag ( const adouble &  )
inline

Definition at line 73 of file AdolcForward.

73 { return 0.; }

◆ isinf()

bool() adtl::isinf ( const adouble &  x)
inline

Definition at line 77 of file AdolcForward.

77 { return (Eigen::numext::isinf)(x.getValue()); }
EIGEN_ALWAYS_INLINE bool() isinf(const Eigen::bfloat16 &h)

◆ isnan()

bool() adtl::isnan ( const adouble &  x)
inline

Definition at line 78 of file AdolcForward.

78 { return (Eigen::numext::isnan)(x.getValue()); }
EIGEN_ALWAYS_INLINE bool() isnan(const Eigen::bfloat16 &h)

◆ real()

const adouble& adtl::real ( const adouble &  x)
inline

Definition at line 72 of file AdolcForward.

72 { return x; }