Boost logo

Ublas :

Subject: [ublas] leading dimension for lapack bindings
From: petros (pmamales_at_[hidden])
Date: 2012-03-02 15:09:56


Hi,
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 ?
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)?
TIA,
Petros