24 cerr <<
"shape error" <<
endl;
29 for (
int i=0;i<=
bw-1;i++)
44 int & ierr = (
int &) _ierr;
46 int minsave=
M.indexmin();
53 #ifndef SAFE_INITIALIZE
62 cerr <<
"Error matrix not positive definite in choleski_decomp"
75 for (
int j=i-bw+1;j<=i-1;j++)
80 for (
int k=i-bw+1;k<=j-1;k++)
89 for (
int k=i-bw+1;k<=i-1;k++)
115 int jmax=
admin(n,i+bw-1);
116 for (
int j=i+1;j<=jmax;j++)
122 L(1,1)=delta/
norm2(v);
Description not yet available.
#define ADUNCONST(type, obj)
Creates a shallow copy of obj that is not CONST.
Vector of double precision numbers.
void initialize(void)
Description not yet available.
banded_lower_triangular_dmatrix & operator=(const banded_lower_triangular_dmatrix &)
Assigment operator.
banded_lower_triangular_dmatrix choleski_decomp_trust_bound(const banded_symmetric_dmatrix &_M, const int &_ierr)
Description not yet available.
prnstream & endl(prnstream &)
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
banded_lower_triangular_dmatrix(const dvar_matrix_position &mpos)
Description not yet available.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
void shift(int)
Description not yet available.
void initialize(void)
Initialze all elements of dvector to zero.
double norm2(const d3_array &a)
Return sum of squared elements in a.