Boost logo

Ublas :

From: Mei, Longyu (LMei_at_[hidden])
Date: 2007-09-17 14:40:02


I want to write matrix data to a file. I am wondering is the matrix
memory layout is similar as vector which guarantee a continuous memory
location?

If the matrix is also a continuous memory segement, I can just get the
start address (or a pointer of a matrix) and then get all data from
there until the size. Otherwise I need to have a temporary memory
location (which is duplicated memory consumption) to hold all data
before write.

Thanks,

James

****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors_at_[hidden] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.