25 cerr <<
"incompatible size in solve_trans" <<
endl;
31 for (i=mmax;i>=mmin;i--)
35 for (j=i+1;j<=jmax;j++)
39 x(i)=(y(i)-ssum)/
M(i,i);
54 cerr <<
" Incompatible vector and matrix sizes in solve " <<
endl;
58 x(imin)=v(imin)/m(imin,imin);
59 for (
int i=imin+1;i<=imax;i++)
63 for (
int j=jmin;j<=i-1;j++)
67 x(i)=(v(i)-ssum)/m(i,i);
92 for (
int i=imin;i<=imax;i++)
94 if (
value(m(i,i))>0.0)
dvector lower_triangular_solve(const dmatrix &m, const dvector &v)
Description not yet available.
Description not yet available.
dvector lower_triangular_solve_trans(const dmatrix &M, const dvector &y)
Description not yet available.
Description not yet available.
ivector sgn(const dvector &v)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
prnstream & endl(prnstream &)
double lower_triangular_ln_det(const dmatrix &m)
Description not yet available.
Description not yet available.
dvector value(const df1_one_vector &v)
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.