22 #include <iostream.hpp>
45 for (
int i = min; i <=
max; ++i)
69 for (
int i = min; i <=
max; ++i)
93 for (
int i = min; i <=
max; ++i)
111 cerr <<
" Non square matrix passed to dmatrix symmetrize\n";
120 for (
int i=rmin;i<=rmax;i++)
123 for (
int j=rmin;j<i;j++)
125 s(i,j)=(m(i,j)+m(j,i))/2.;
Base class for dvariable.
Vector of double precision numbers.
dmatrix symmetrize(const dmatrix &matrix)
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.
Description not yet available.
Class definition of matrix with derivitive information .
void allocate(int nrl, int nrh, int ncl, int nch)
Allocates AD variable matrix with dimensions nrl to nrh by ncl to nch.
d3_array operator/(const d3_array &m, const double d)
Author: David Fournier.