18 cerr <<
"Error: imatrix is not square"
19 <<
" in diagonal(const imatrix&).\n";
23 for (
int i = min; i <=
max; ++i)
25 vector(i) = matrix(i,i);
42 cerr <<
"Index bounds do not match"
43 <<
" in operator*(const ivector&, const ivector&)\n";
61 for (
int i=min; i<=
max; i++)
68 dp_dotproduct(&tmp,&(t1(min)),&(t2(min)),n);
86 cerr <<
" Incompatible array bounds"
87 <<
" in operator*(const imatrix&, const imatrix&)\n";
90 imatrix results(min, max, min, max);
91 for (
int j = min; j <=
max; ++j)
94 for (
int i = min; i <=
max; ++i)
96 results(i, j) = a(i) * col;
Description not yet available.
dvector diagonal(const dmatrix &matrix)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dmatrix operator*(const d3_array &t, const dvector &v)
Description not yet available.
Array of integers(int) with indexes from index_min to indexmax.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvector column(const dmatrix &matrix, int j)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.