Go to the source code of this file.
Defines | |
#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. | |
void | ludcmp (const dvar_matrix &_a, const ivector &_indx, const prevariable &_d) |
Lu decomposition of a variable matrix. | |
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 13 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 130 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 28 of file fvar_ma4.cpp.
double eps0 = 1.e-50 [static] |
Definition at line 15 of file fvar_ma4.cpp.
Referenced by ludcmp().
Generated on Tue Mar 8 2016 19:51:37 for ADMB Documentation by 1.8.0 |