How to create a array of boost matrices?

Posted by Venkata Adusumilli on Stack Overflow See other posts from Stack Overflow or by Venkata Adusumilli
Published on 2010-03-23T21:59:23Z Indexed on 2010/03/23 22:03 UTC
Read the original article Hit count: 467

Filed under:
|
|

How can I define a array of boost matrices as a member variable?

None of the following worked.

boost::numeric::ublas::matrix arrayM(1, 3)[arraySize]; boost::numeric::ublas::matrix(1, 3) arrayM[arraySize]; boost::numeric::ublas::matrix arrayM[arraySize](1, 3);

Thanks, Ravi.

© Stack Overflow or respective owner

Related posts about boost

Related posts about matrix