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

(Last Changed on August 07, 2013 for git-revision 79cf62960dc7c4aac1de91ed38d03189aec5bf03.)

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. More...
 
double dfposfun1 (const double &x, const double eps)
 Adjoint code for posfun; possibly not used. More...
 
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$. More...
 
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$. More...
 

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().