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

(Last Changed on August 06, 2022 for git-revision 808780089317c67198079de06b64df009a4a6543.)

#include <fvar.hpp>

Go to the source code of this file.

Macros

#define TINY   1.0e-20;
 

Functions

dvariable det (const dvar_matrix &aa)
 Determinaant of matrix. More...
 
void df_xdet (void)
 Adjoint code for dvariable det(const dvar_matrix& aa) More...
 
void dfinvpret (void)
 Adjoint code for dvar_matrix inv(const dvar_matrix& aa). More...
 

Macro Definition Documentation

#define TINY   1.0e-20;
Id:
fvar_m20.cpp 789 2010-10-05 01:01:09Z johnoel

Author: Steve Martell made Changes on Dec 30, 2013

Definition at line 21 of file fvar_m20.cpp.

Referenced by det().

Function Documentation

dvariable det ( const dvar_matrix aa)

Determinaant of matrix.

Parameters
aadvar_matrix containing a square matrix, $A$.
Returns
$\det(A)$.

The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2

Edited by Steve Martell on Dec 30, 2013 to address a bug where the lower bound of the square dvar_matrix was greater than 1.

Definition at line 37 of file fvar_m20.cpp.

void df_xdet ( void  )

Adjoint code for dvariable det(const dvar_matrix& aa)

Definition at line 184 of file fvar_m20.cpp.

Referenced by det().

void dfinvpret ( void  )

Adjoint code for dvar_matrix inv(const dvar_matrix& aa).

Definition at line 287 of file fvar_m15.cpp.