(* $Id: fvar_ma4.cpp 789 2010-10-05 01:01:09Z johnoel $)
Go to the source code of this file.
- fvar_ma4.cpp 789 2010-10-05 01:01:09Z johnoel
Author: David Fournier Copyright (c) 2009-2012 ADMB Foundation
Definition at line 13 of file fvar_ma4.cpp.
Referenced by lubksb().
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