Well, I'd like to use a banded_matrix *as* a multi_array. For example:
some_fcn( const multi_array_ref
-----Original Message----- From: Ronald Garcia [mailto:garcia@cs.indiana.edu] Sent: Wednesday, March 29, 2006 12:01 PM To: Sohail Somani Cc: boost-users@lists.boost.org Subject: Re: [MultiArray] Banded matrix
Hi Sohail,
I'm not clear on what you mean "used as a multi_array_ref". Could you elaborate what you are tryijng to do?
ron
On Mar 28, 2006, at 1:56 PM, Sohail Somani wrote:
Hi,
I'd like to continue to use multi array as my array type for numerical work. I'd like to hear some suggestions on how I could implement a banded matrix based on multi_array such that it could be used as a multi_array_ref. The obvious solution is to subclass, have an array of multi_array
and overload the indexing operators. Are there any gotchas?
Thanks!
Sohail