20 for (
int i=min;i<=
max;i++)
36 cerr <<
" Incompatible vector and matrix sizes in solve " <<
endl;
40 x(imin)=v(imin)/m(imin,imin);
41 for (
int i=2;i<=imax;i++)
45 for (
int j=jmin;j<=i-1;j++)
49 x(i)=(v(i)-ssum)/m(i,i);
64 for (i=min;i<=
max;i++)
67 for (j=i+1;j<=
max;j++)
87 cerr <<
"incompatible size in solve_trans" <<
endl;
93 for (i=mmax;i>=mmin;i--)
96 for (j=i+1;j<=mmax;j++)
100 x(i)=(y(i)-
sum)/
M(i,i);
115 dmatrix tmp(mmin,mmax,mmin,mmax);
116 for (i=mmin;i<=mmax;i++)
120 for (j=i;j<=mmax;j++)
135 dmatrix tmp(mmin,mmax,mmin,mmax);
136 for (i=mmin;i<=mmax;i++)
140 for (j=i;j<=mmax;j++)
dmatrix fillout(const lower_triangular_dmatrix &M)
Description not yet available.
void allocate(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
lower_triangular_dmatrix(int, int)
Description not yet available.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dmatrix fillout_trans(const lower_triangular_dmatrix &M)
Description not yet available.
dvector solve(const dmatrix &aa, const dvector &z)
Solve a linear system using LU decomposition.
dmatrix symmetrize(const dmatrix &matrix)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
prnstream & endl(prnstream &)
dvector solve_trans(const lower_triangular_dmatrix &M, const dvector &y)
Description not yet available.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
Description not yet available.