BZDEV: blitz-0.5beta3 testsuite bug

From: Peter Keller (psilord@upl.cs.wisc.edu)
Date: Sat Jan 08 2000 - 01:01:53 EST


Hello,
I'm new to this list, and I searched the archives, but I didn't find a
reference to this. I'm also new to blitz++, but I've gotten some good
use out of the limited things I know about it do far.

One of the programs in the test suite fails:

Linux > ./wei-ku-1
Test failed: ./wei-ku-1.cpp line 22

Thank you for writing blitz... It is an awesome library.
Much appreciation towards you all.

Here is some more info:
Linux > uname -a
Linux foobar 2.2.11 #7 Sat Aug 21 18:02:22 CDT 1999 i586 unknown

Linux > gcc -v
Reading specs from /usr/local/egcs-1.1.2/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

While I'm here writing this, I would like to ask about a feature.

Say I have a field:

Array<TinyVector<double, 3>, 3> field(100,100,100);

I would like to do something like this:

using namespace blitz::tensor;

field = cos(i)+sin(k), sin(j)+cos(i), cos(k)+sin(i);

Is this type of notation possible?

Otherwise I have to write for loops for each dimension, and then update each
element of the tinyvector by itself.

Thank you.

-pete

--------------------- blitz-dev list --------------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/blitz/lists.html



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:11 EST