ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
posfunv.cpp File Reference

(* $Id$)

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.
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$.
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$.
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$.

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.