logo       

ublas::matrix sharing storage with ublas::vector: msg#00296

lib.boost.user

Subject: ublas::matrix sharing storage with ublas::vector

It is possible for a vector and a matrix to share the same storage, as
long as the dimensions agree?

Some of the algorithms I am implementing require some objects to be treated
as an arbitrarily sized matrix, and sometimes as a vector, and it would be
convient to have a matrix and a vector share the same memory.

--
Stephen

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM
---------------------------------------------------------------------~->

Info: <http://www.boost.org>
Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx>


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise