Boost logo

Ublas :

From: Riccardo Rossi (rrossi_at_[hidden])
Date: 2008-01-18 03:21:36


well,
     to my knowledge the ublas::vector has just one template parameter:

ublas:vector< double* > should work without problems

greetings
Riccardo

On Thu, 2008-01-17 at 15:10 -0700, James Sutherland wrote:
> All,
>
> I am a new user of UBLAS and am trying to use it as an alternative to
> another popular linear algebra package.
>
> As part of this, I need to create ublas vectors that are stored as
> double* and managed externally to ublas. However, I cannot declare
> the following:
> typedef ublas::vector<double,double*> MyVectorType;
>
> For compatibility and efficiency reasons with the remainder of the
> software design, I must use double* and not a true container like a
> std::vector<double>.
>
> Any help on this would be greatly appreciated!
>
> James
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas