ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
posfunv.cpp File Reference

(Last Changed on September 21, 2013 for git-revision bb6a79323a1e2ae47ca2fcff66411aae86c3c605.)

posfun(...) source code for variable arguments. More...

#include <fvar.hpp>

Go to the source code of this file.

Functions

dvariable dfposfun (const prevariable &x, const double eps)
 Adjoint code for posfun; possibly not used. More...
 
dvariable posfun (const dvariable &x, const double eps, const prevariable &_pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$. More...
 
dvariable posfun (const dvariable &x, const double eps, const dvariable &_pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$. More...
 
dvariable posfun2 (const dvariable &x, const double eps, const prevariable &_pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$. More...
 

Detailed Description

posfun(...) source code for variable arguments.

Definition in file posfunv.cpp.

Function Documentation

dvariable dfposfun ( const prevariable x,
const double  eps 
)

Adjoint code for posfun; possibly not used.

Retained in source code to support legacy models with user-written adjoint code.

Definition at line 110 of file posfunv.cpp.