39 cerr <<
"Error: Invalid matrix column index specified in "
40 <<
"dvector extract_column(const dmatrix&, int).\n",
48 double* pcolumni = column.
get_v() +
min;
49 const dvector* pmatrixi = &matrix(min);
50 for (
int i = min; i <=
max; ++i)
52 *pcolumni = *(pmatrixi->
get_v() + j);
70 cerr <<
"Error: Invalid matrix row index specified in "
71 <<
"dvector extract_row(const dmatrix&, int).\n",
75 dvector row(matrix(i).indexmin(), matrix(i).indexmax());
Vector of double precision numbers.
dvector row(const dmatrix &matrix, int i)
Returns a copied row for matrix at i.
dvector extract_column(const dmatrix &matrix, int j)
Extract copy of jth column vector from matrix m.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
dvector extract_row(const dmatrix &matrix, int i)
Returns a copied row for matrix at i.
dvector column(const dmatrix &matrix, int j)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.