Boost logo

Ublas :

From: Stefan Heinzmann (stefan_heinzmann_at_[hidden])
Date: 2006-11-02 13:08:48


--- Gunter Winkler <guwi17_at_[hidden]> wrote:

> On Tuesday 31 October 2006 17:55, Stefan Heinzmann wrote:
> > This produces a compiler error with VC++ 7.1:
> > error C2039: 'orientation_category' : is not a member of
> > 'boost::numeric::ublas::readonly_array_adaptor<T>
>
> Yes, I forgot one template parameter: the storage layout.
>
> I fixed the header file, included your suggestion and added
> an example (using
> your data).

Cool. It appears to work. Thanks!

Nitpick: Wouldn't it be better to call the function that
receives a reference to a 2D-array "make_matrix_from_array"
instead of "make_matrix_from_pointer"?

Cheers
Stefan

                
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de