Boost logo

Ublas :

Subject: Re: [ublas] [bindings][traits] is_vector, is_matrix
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-03-11 03:51:34

Karl Meerbergen wrote:

> Rutger,
> Where do you need this?
> Karl

BLAS' matrix-vector and matrix-matrix operations share a very commmon
syntax. I was thinking of giving them the same interface, see the current
proposal also at

E.g., if you would write

blas::transform( y, alpha, A, x, beta ) // gemv
blas::transform( C, alpha, A, B, beta ) // gemm

the syntax is identical, the difference is type of x/y (vectors) and C/B