Boost logo

Boost :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2003-07-24 14:34:52


> From:
> "Neal D. Becker" <nbecker_at_[hidden]>
>
>Does ublas require matrix storage be managed by ublas? Is it possible to
>construct a ublas matrix that references a plain-old-C-style array?
>
>If not, what is a simple way construct a ublas matrix from a C-style
array?
>
>
>
There is an undocumented a "array_adaptor" in uBLAS. This provides
exactly the functionallity you need. Have a look in "storage.hpp"

Michael


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk