Blitz logo

Blitz Support :

From: Patrik (patrik_at_[hidden])
Date: 2003-08-26 13:20:48


At 12:54 PM 8/26/2003 +0100, you wrote:
>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!)

well, trouble is that I am...

i even grepped through all the sources and I can't see a definition for a
unary minus operator anywhere... this is weird. And unless i'm completely
spacing now, I am using the current cvs code. so, this operator should exist?

/patrik