Blitz logo

Blitz Support :

From: William Gallafent (william.gallafent_at_[hidden])
Date: 2003-08-26 06:54:49


On Thu, 21 Aug 2003, Patrik wrote:

> I don't know if I've never tried this before, but it seems there is no unary
> minus for TinyVector. Is there a reason for this? Or am I missing
> something?

I think you just need to:

#include <blitz/tinyvec-et.h>

to get these and all the other tinyvector operators. I think this isn't
included automatically from tinyvec.h since it slows down compilation quite a
bit (vecbops.cc, for example, is 17000 lines of templated operators!)

-- 
Bill Gallafent.