freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freepooma-devel] Tensorial Product


From: Richard Guenther
Subject: Re: [Freepooma-devel] Tensorial Product
Date: Fri, 2 Dec 2005 11:26:08 +0100 (CET)

On Thu, 1 Dec 2005, Felipe Sodré Silva wrote:

Hey folks.
Does pooma have a native function to calculate the tensorial product of two
Vectors ? I'm having trouble to find it out.

There is

Tiny/VectorTensor.h:
typename BinaryReturn<Vector<D,T1,E1>, Vector<D,T2,E2>, FnOuterProduct>::Type_t
outerProduct(const Vector<D,T1,E1> &v1, const Vector<D,T2,E2> &v2 );

which calculates the tensorial (outer) product of two Vectors.  It only
works with the Vector classes from Tiny/, not with whole Arrays or Fields,
if this is what you search for.


Hope this helps,
Richard.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]