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

Floor function. More...

#include <calculus.hpp>

Detailed Description

Definition at line 778 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_FLOOR >::der ( const T &  x,
const T &  f,
T *  d 
)
inlinestatic

Definition at line 781 of file calculus.hpp.

781 { d[0] = 0;}

◆ fcn()

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

Definition at line 780 of file calculus.hpp.

780 { f = floor(x);}

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