Blitz logo

Blitz Support :

From: Patrick Guio (Patrick.Guio_at_[hidden])
Date: 2004-10-22 03:19:42


On Wed, 20 Oct 2004, Paul wrote:

You should include <blitz/tinyvec-et.h> as specified in the documentation.
Cheers, Patrick

> Hello,
>
>
> The documentation seems to indicate that I can use
> arithmetic operations on blitz::TinyVectors. But g++
> version 3.4 does not seem to recognize them.
>
> For instance,
> blitz::Array<double, 1> x;
> x * x;
>
> compiles, but
>
> blitz::TinyVector<double, 2> y;
> y * y;
>
> does not. g++ version 3.4 claims no match for
> operator*.
>
> What is going on here? How can I create expressions
> involving Tiny Vectors?
>
> Paul
>