19 #include <iostream.hpp>
39 cerr <<
"Error in chol_decomp. Matrix not square" <<
endl;
49 #ifndef SAFE_INITIALIZE
57 cerr <<
"Error matrix not positive definite in choleski_decomp"
85 cerr <<
"Error matrix not positive definite in choleski_decomp"
118 cerr <<
"Error in chol_decomp. Matrix not square" <<
endl;
128 #ifndef SAFE_INITIALIZE
141 L(i,1)=
M(i,1)/L(1,1);
183 cerr <<
"Error in chol_decomp. Matrix not square" <<
endl;
193 #ifndef SAFE_INITIALIZE
203 L(1,1)=
sqrt(-
M(1,1));
206 L(i,1)=-
M(i,1)/L(1,1);
static dmatrix onerror(dmatrix &L, int &ierror)
Description not yet available.
dmatrix choleski_decomp_neghess_error(const dmatrix &MM, int &ierror)
Description not yet available.
unsigned int colsize() const
df1_one_matrix choleski_decomp(const df1_one_matrix &MM)
prnstream & endl(prnstream &)
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dmatrix choleski_decomp_error(const dmatrix &MM, int &ierror)
Description not yet available.
Description not yet available.
void rowshift(int min)
Changes the range of valid indices for the rows.
void colshift(int min)
Description not yet available.
unsigned int rowsize() const
void initialize(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.