List of all members | Static Public Member Functions
casadi::UnaryOperation< OP_LOG1P > Struct Reference

log1p(x) = log(1+x) More...

#include <calculus.hpp>

Detailed Description

Definition at line 963 of file calculus.hpp.

Static Public Member Functions

template<typename T >
static void fcn (const T &x, T &f)
 
template<typename T >
static void der (const T &x, const T &f, T *d)
 

Member Function Documentation

◆ der()

template<typename T >
static void casadi::UnaryOperation< OP_LOG1P >::der ( const T &  x,
const T &  f,
T *  d 
)
inlinestatic

Definition at line 965 of file calculus.hpp.

965  {
966  d[0] = 1/(1+x);}

◆ fcn()

template<typename T >
static void casadi::UnaryOperation< OP_LOG1P >::fcn ( const T &  x,
T &  f 
)
inlinestatic

Definition at line 964 of file calculus.hpp.

964 { f = log1p(x);}

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