ADMB Documentation  11.1.2503
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions
fvar_m20.cpp File Reference

(* $Id: fvar_m20.cpp 789 2010-10-05 01:01:09Z johnoel $)

#include <fvar.hpp>

Go to the source code of this file.

Defines

#define TINY   1.0e-20;

Functions

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

Define 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 17 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 33 of file fvar_m20.cpp.

void df_xdet ( void  )

Adjoint code for dvariable det(const dvar_matrix& aa)

Definition at line 171 of file fvar_m20.cpp.

Referenced by det().

void dfinvpret ( void  )

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

Definition at line 212 of file fvar_m15.cpp.