26 for (i=mmin;i<=mmax;i++)
32 for (i=mmin;i<=mmax;i++)
34 tmp(io(i-1)+1,io(i)).
shift(m(i).indexmin())=m(i);
52 if ( mmax-mmin+1 != n*m)
54 cerr <<
" Vector and Matrix sizes don't match in function MAT" <<
endl;
58 for (
int i=1;i<=n;i++)
60 for (
int j=1;j<=m;j++)
dvar_vector & shift(int min)
Description not yet available.
void initialize(void)
Zero initialize allocated dvar_matrix, then saves adjoint function and position data.
prnstream & endl(prnstream &)
Array of integers(int) with indexes from index_min to indexmax.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dmatrix MAT(const dvector &v, int n, int m)
The MAT operator is the inverse of the VEC operator.
Class definition of matrix with derivitive information .
dvector VEC(const dmatrix &_m)
The VEC operator concatenates the columns of matrix M into a column vector.