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

(* $Id$)

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

#include <fvar.hpp>

Go to the source code of this file.

Functions

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

Detailed Description

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

Definition in file posfunc.cpp.


Function Documentation

double dfposfun ( const double &  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 19 of file posfunc.cpp.

Referenced by dfcholeski_decomp_banded_positive(), and dfcholeski_decomp_positive().

double dfposfun1 ( const double &  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 39 of file posfunc.cpp.

Referenced by dfcholeski_decomp_banded_positive(), and dfcholeski_decomp_positive().