Boost logo

Ublas :

Subject: Re: [ublas] leading dimension for lapack bindings
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2012-03-02 15:39:34


petros wrote:
> I want to use the gesv function of numeric bindings for a matrix_range (i.e. a submatrix).
> LAPACK expects this to be the number of rows (column_major layout) of the original matrix.
> Is the bindings library “smart” enough to figure it out ?

Of course it is smart enough.


> Alternatively, if I want to use the bindings calls with derivative classes of the boost
> matrix how can I overwrite this “standard” behavior (i.e. leading dimension)?

I get the impression that you ask how to write a binding for your own matrix type. That's quite easy, but hopefully won't be required...

Regards,
Thomas