Boost logo

Ublas :

Subject: Re: [ublas] [bindings][lapack] Initial high-level solve
From: Kresimir Fresl (fresl_at_[hidden])
Date: 2009-03-24 13:25:20

Jesse Perla wrote:

> [...] One thing that would be nice is if the B could support
> vectors as well as matrices. Quite often you want to solve AX=b with b
> a ublas vector and don't want to convert between the two types. I am
> not sure if there is the ability for the traits to treat a vector as an
> Nx1 matrix. [...]

For ublas::vector<> there are matrix traits in traits/ublas_vector2.hpp.