On Mon, Jun 21, 2010 at 11:45 PM, Eric Shamay
I've been trying to form a class based on the matrix_slice to ease some operations. Thus far I have: http://codepad.org/EepVDx2C
The compiler complains about the line where I form a matrix_slice (line 21 in the paste), and specifically with the first argument. I'm lost as to why I can't submit a matrix<double> as the first argument in the manner I've tried.
Any help would be greatly appreciated.
Hi!
The matrix_slice constructor takes either a "matrix_type&" or a
"matrix_closure_type const&" as first parameter.
In case of the "matrix_closure_type const&" version, this is translated into
const matrix_reference