#include <df1b2fun.h>
Go to the source code of this file.
#define ISZERO | ( | d | ) | ((d)==0.0) |
Author: David Fournier Copyright (c) 2008, 2009, 2010 Regents of the University of California
Definition at line 12 of file f1b2lndt.cpp.
Referenced by lubksb().
df1b2variable get_ln_det | ( | const df1b2matrix & | b, |
int & | sgn | ||
) |
Definition at line 81 of file f1b2lndt.cpp.
ivector getreindex | ( | ivector & | indx | ) |
Definition at line 351 of file f1b2lndt.cpp.
Referenced by ln_det().
df1b2variable ln_det | ( | const df1b2matrix & | M, |
int & | sgn | ||
) |
Definition at line 299 of file f1b2lndt.cpp.
df1b2variable ln_det | ( | const df1b2matrix & | M | ) |
Definition at line 324 of file f1b2lndt.cpp.
df1b2vector lubksb | ( | const df1b2matrix & | alpha, |
const df1b2matrix & | beta, | ||
ivector & | , | ||
const df1b2vector & | b | ||
) |
LU decomposition back susbstitution alogrithm for df1b2matrix 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 41 of file f1b2lndt.cpp.
df1b2matrix lubksb | ( | const df1b2matrix & | alpha, |
const df1b2matrix & | beta, | ||
ivector & | , | ||
const df1b2matrix & | B | ||
) |
Definition at line 105 of file f1b2lndt.cpp.
void ludcmp | ( | const df1b2matrix & | a, |
int | k | ||
) |
Definition at line 155 of file f1b2lndt.cpp.
df1b2matrix_pair ludcmp | ( | const df1b2matrix & | a | ) |
Definition at line 233 of file f1b2lndt.cpp.
df1b2matrix reorder | ( | const df1b2matrix & | M, |
const ivector & | indx | ||
) |
Definition at line 172 of file f1b2lndt.cpp.
df1b2vector reorder | ( | const df1b2vector & | M, |
const ivector & | indx | ||
) |
Definition at line 203 of file f1b2lndt.cpp.
df1b2vector solve | ( | df1b2matrix & | M, |
df1b2vector & | v | ||
) |
Definition at line 366 of file f1b2lndt.cpp.
df1b2vector solve | ( | df1b2matrix & | M, |
df1b2vector & | v, | ||
const df1b2variable & | _ln_det | ||
) |
Definition at line 385 of file f1b2lndt.cpp.
df1b2vector solve | ( | df1b2matrix & | M, |
df1b2vector & | v, | ||
const df1b2variable & | _ln_det, | ||
const int & | sgn | ||
) |
Definition at line 407 of file f1b2lndt.cpp.
void xswitch | ( | int & | i1, |
int & | i2 | ||
) |
Definition at line 344 of file f1b2lndt.cpp.
Referenced by getreindex().
Generated on Tue Mar 8 2016 19:51:37 for ADMB Documentation by 1.8.0 |