Boost logo

Ublas :

Subject: Re: [ublas] Patch/proposal for overloading operator * in ublas
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2009-08-18 07:41:18


Rutger ter Borg wrote:
> Jesse Perla wrote:
>
>
>> As discussed in previous posts, people really can't get past the lack of *
>> overloading in ublas. I know this was partially a philosophical/design
>> decision, but it is extremely important to "joe user". Can this be easily
>> remedied?
>>
>>
>
> I would second this, I don't think there are technical limitations for it?
>
> Perhaps
>
> x = trans(a) * b // inner prod
> x = a * trans(b) // outer prod
>

That is what glas uses, after a long discussion in the mailing list
several years ago.

Karl

> might be considered too? If it will work like that work matrices, why not
> for vectors? Fewer keywords, same expressiveness.
>
> Cheers,
>
> Rutger
>
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: karl.meerbergen_at_[hidden]
>

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm