|
Ublas : |
Subject: Re: [ublas] ublas::vector and a "random access" container concept? And ublas::matrix.
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-01-23 02:52:35
jesseperla_at_[hidden] wrote:
> Also, any ideas on a good generic concept for working with ublas::matrix,
> c 2D array, multi_array<Real, 2> ?
You might want to take a look at the traits system of
Boost.Numeric_Bindings, it's at
https://svn.boost.org/svn/boost/sandbox/boost/numeric/bindings/traits/
. It enables you to get information of matrices in an
matrix-implementation-independent way. A framekwork like this, extended
with accessor functions like row(), column(), etc., could come close to
what you are looking for.
Kind regards,
Rutger