Boost logo

Ublas :

Subject: Re: [ublas] Patch/proposal for overloading operator * in ublas
From: Jesse Perla (jesseperla_at_[hidden])
Date: 2009-08-18 08:14:12

On Tue, Aug 18, 2009 at 7:37 AM, Rutger ter Borg <rutger_at_[hidden]> wrote:

> x = trans(a) * b // inner prod
> x = prec(trans(a)*b) // prec inner prod
> x = a * trans(b) // outer prod

Sounds like the winner. And matlab people will find it intuitive. And it
is consistent with the traits discussed for the new numeric bindings to
LAPACK if I recall. Any ideas on the nested prods? Could my suggestion to
dispatch on complexity to introduce temporaries work?