ADMB Documentation
-a65f1c97
|
Go to the source code of this file.
Macros | |
#define | ISZERO(d) ((d)==0.0) |
Functions | |
void | lubksb (dvar_matrix a, const ivector &indx, dvar_vector b) |
LU decomposition back susbstitution alogrithm for variable object. More... | |
void | ludcmp (const dvar_matrix &_a, const ivector &_indx, const prevariable &_d) |
Lu decomposition of a variable matrix. More... | |
Variables | |
static double | eps0 =1.e-50 |
#define ISZERO | ( | d | ) | ((d)==0.0) |
Author: David Fournier Copyright (c) 2009-2012 ADMB Foundation
Definition at line 17 of file fvar_ma4.cpp.
Referenced by lubksb().
void lubksb | ( | dvar_matrix | a, |
const ivector & | indx, | ||
dvar_vector | b | ||
) |
LU decomposition back susbstitution alogrithm for variable object.
a | A dmatrix containing LU decomposition of input matrix. . |
indx | Permutation vector from ludcmp. |
b | A dvector containing the RHS, of the linear equation , to be solved, and containing on return the solution vector . The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2 |
Definition at line 143 of file fvar_ma4.cpp.
void ludcmp | ( | const dvar_matrix & | _a, |
const ivector & | _indx, | ||
const prevariable & | _d | ||
) |
Lu decomposition of a variable matrix.
_a | A dmatrix; replaced by the by its resulting LU decomposition |
_indx | An ivector containing the row permutations generated by partial pivoting |
_d | A double containing -1 or +1 depending whether the number of row interchanges was even or odd, repectively. The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2 |
Definition at line 32 of file fvar_ma4.cpp.
|
static |
Definition at line 19 of file fvar_ma4.cpp.
Referenced by ludcmp().
Generated on Wed Sep 7 2022 00:01:31 for ADMB Documentation by 1.8.5 |