assign a scalar to boost::numeric::ublas::matrix?

24 Oct
2002
24 Oct
'02
7:31 p.m.
Hi, having tried various matrix classes, I was excited to see boost finally includes a "standard" matrix class. Thanks for the good work. I have one question, though. How do I initialize a matrix to a scalar value? There is no constructor of the form 'matrix (nr, nc, value)' nor 'matrix::operator=( T value )'. I think both would be nice to have. Michael -- ---------------------------------------------------------------------------- Michael Na Li Email: lina@u.washington.edu Department of Biostatistics, Box 357232 University of Washington, Seattle, WA 98195 ---------------------------------------------------------------------------
8157
Age (days ago)
8157
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Na Li