How to create a const boost matrix?

Posted by Venkata Adusumilli on Stack Overflow See other posts from Stack Overflow or by Venkata Adusumilli
Published on 2010-04-02T22:42:22Z Indexed on 2010/04/02 22:53 UTC
Read the original article Hit count: 382

Filed under:
|
|
|

How can I create a const boost matrix?

The following did not work:

const boost::numeric::ublas::matrix<double> arrayM(1, 3) = { {1.0, 2.0, 3.0} };

© Stack Overflow or respective owner

Related posts about boost

Related posts about ublas