23 cerr <<
" Incompatible vector and matrix sizes in solve " <<
endl;
27 x(imin)=v(imin)/m(imin,imin);
28 for (
int i=2;i<=imax;i++)
32 for (
int j=jmin;j<=i-1;j++)
36 x(i)=(v(i)-ssum)/m(i,i);
61 for (
int i=imin;i<=imax;i++)
63 if (
value(m(i,i))>0.0)
dvector lower_triangular_solve(const dmatrix &m, const dvector &v)
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 &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double lower_triangular_ln_det(const dmatrix &m)
Class definition of matrix with derivitive information .
dvector value(const df1_one_vector &v)
Fundamental data type for reverse mode automatic differentiation.
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.