Blitz logo

Blitz Support :

From: Will Bateman (will_at_[hidden])
Date: 2004-09-18 11:08:00


Hi,

What happened to the good stuff you did below. It doesn=B9t appear to be in
release 0.7..

Also where can I get at you VTx libraries.

Thanks

Will

If Todd, or Julian Cummings already sent me a email about this, please
resend it to mdsuresh_at_[hidden] I have lost access to my
yahoo account.

please remove REMOVEME from my email address.

Anyways guys, i have forked blitz a little and made a lot of controversial
changes. Btw, these are far from official.

You can find these changes at

http://mdsuresh.tripod.com/blitz-0.6.x.zip

Btw, i have only got it compiling. [with g++ 2.95, Intel, Cygwin B19,
WinXP ] I still have a lot of bugs to hunt down and fix. In a few days, i
will get them working. Here's the pilot compilability tester .

http://mdsuresh.tripod.com/func.cpp

Anyways, here are some important changes i made

First thing is Range

Range(0, 5,2) is considered a valid range and wont invoke an assertion.
Range(0,5,2) =3D 0,2,4
Range(0,-1,1) is a null range and wont invoke an assertion
IF Array<int,2> A(4,5)
A(Range(0,-1,1), 2) is a null slice

Slicing [ partial ordering]

Suppose Array<int,3> A(3,4,5)

and u do A( Range(2,3) , 1) --> this is same as A( Range(2,3) , 1,
Range:all())

and its rank is 2

I added some classes being a matlab phenatic.

lhs_ and rhs_ and the relavent function lhs and rhs

for example, SVDs can return multiple values using rhs() .

int a; float b; char c;

lhs( a, b, c) =3D rhs( int(1) , float(0.5) , '1')

would set a,b,c to their appropriate values.

Morever, suppose

Array<float, 1> b;

lhs( a, b, c) =3D rhs( int(1) , Array<float,1>(10) , '1')

would be same as

a =3D 1; b=3D Array<float,1>(10); c =3D '1';

whereas

lhs( a, ref(b), c) =3D rhs( int(1) , Array<float,1>(10) , '1')

would be
a =3D 1; b.reference(Array<float,1>(10)); c =3D '1';

Then, i changed list initialzers for 2-d and 1-d matrices

Array<int, 2> a(4,4);
Array<int,1> b(3);
Array<int,2> c(2,4);

b =3D 3;
c =3D 5;
a =3D b, 1,
      c,
      10,9,8,7;

would set a equal to

a =3D 3,3,3,1
      5,5,5,5
      5,5,5,5
      10,9,8,7

And i added some algorithms to blitz. I have named them Vectorized Template
eXtenstions, or otherwise _VTx . As the name says, it will exploit
parallelism wherever possible. And most functions are rip off of the
fortran -90 version of Numerical Recipies.

Anyways, look over. And something really really bugs u, please email me at
mdsuresh_at_REMOVEMErediffmail.com. (Remember to remove REMOVEME). Mostly,
it's still in prerelease mode. Your opnions are very important now, since
it's the right time to shape the library.

cheers
Suresh

--B_3178371821_4835823
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Where is Blitz going.</TITLE>
</HEAD>
<BODY>
<FONT SIZE=3D"4"><FONT FACE=3D"Courier"><SPAN
STYLE=3D'font-size:13.0px'>Hi,<BR>
<BR>
What happened to the good stuff you did below. It doesn&#8217;t appear to b=
e in release 0.7..<BR>
<BR>
Also where can I get at you VTx libraries.<BR>
<BR>
Thanks<BR>
<BR>
Will<BR>
<BR>
<BR>
If Todd, or Julian Cummings already sent me a email about this, please<BR>
resend it to mdsuresh_at_[hidden] &nbsp;&nbsp;I have lost access=
 to my<BR>
yahoo account.<BR>
<BR>
please remove REMOVEME from my email address.<BR>
<BR>
<BR>
Anyways guys, i have forked blitz a little and made a lot of controversial<=
BR>
changes. Btw, these are far from official.<BR>
<BR>
You can find these changes at<BR>
<BR>
<FONT COLOR=3D"#551A8B"><a
href=3D"http://mdsuresh.tripod.com/blitz-0.6.x.zip">=
 <http://mdsuresh.tripod.com/blitz-0.6.x.zip>
http://mdsuresh.tripod.com/blitz-0.6.x.zip
<
http://mdsuresh.tripod.com/blitz-0.6.x.zip> ><BR>
</FONT><BR>
Btw, i have only got it compiling. [with g++ 2.95, Intel, Cygwin B19,<BR>
WinXP ] I still have a lot of bugs to hunt down and fix. In a few days, i<B=
R>
will get them working. Here's the pilot compilability tester .<BR>
<BR>
<FONT COLOR=3D"#0000EE"><a
href=3D"http://mdsuresh.tripod.com/func.cpp">http://=
mdsuresh.tripod.com/func.cpp</a><BR>
</FONT><BR>
Anyways, here are some important changes i made<BR>
<BR>
First thing is Range<BR>
<BR>
Range(0, 5,2) is considered a valid range and wont invoke an assertion.<BR>
Range(0,5,2) =3D 0,2,4<BR>
Range(0,-1,1) is a null range and wont invoke an assertion<BR>
IF Array&lt;int,2&gt; A(4,5)<BR>
A(Range(0,-1,1), 2) &nbsp;is a &nbsp;null slice<BR>
<BR>
Slicing [ partial ordering]<BR>
<BR>
Suppose Array&lt;int,3&gt; A(3,4,5)<BR>
<BR>
and u do A( Range(2,3) , 1) --&gt; this is same as A( Range(2,3) &nbsp;, 1,=
<BR>
Range:all())<BR>
<BR>
and its rank is 2<BR>
<BR>
I added some classes being a matlab phenatic.<BR>
<BR>
lhs_ and rhs_ and the relavent function lhs and rhs<BR>
<BR>
for example, SVDs can return multiple values using rhs() .<BR>
<BR>
int a; float b; char c;<BR>
<BR>
lhs( a, b, c) =3D rhs( int(1) , float(0.5) , '1')<BR>
<BR>
would set a,b,c to their appropriate values.<BR>
<BR>
Morever, suppose<BR>
<BR>
Array&lt;float, 1&gt; &nbsp;b;<BR>
<BR>
lhs( a, b, c) =3D rhs( int(1) , Array&lt;float,1&gt;(10) , '1')<BR>
<BR>
would be same as<BR>
<BR>
a =3D 1; b=3D Array&lt;float,1&gt;(10); c =3D '1';<BR>
<BR>
whereas<BR>
<BR>
lhs( a, ref(b), c) =3D rhs( int(1) , Array&lt;float,1&gt;(10) , '1')<BR>
<BR>
would be<BR>
a =3D 1; b.reference(Array&lt;float,1&gt;(10)); c =3D '1';<BR>
<BR>
<BR>
Then, i changed list initialzers for 2-d and 1-d matrices<BR>
<BR>
Array&lt;int, 2&gt; a(4,4);<BR>
Array&lt;int,1&gt; &nbsp;b(3);<BR>
Array&lt;int,2&gt; &nbsp;c(2,4);<BR>
<BR>
b =3D 3;<BR>
c =3D 5;<BR>
a =3D b, 1,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10,9,8,7;<BR>
<BR>
would set a equal to<BR>
<BR>
a =3D 3,3,3,1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5,5,5,5<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5,5,5,5<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10,9,8,7<BR>
<BR>
And i added some algorithms to blitz. I have named them Vectorized Template=
<BR>
eXtenstions, or otherwise _VTx . As the name says, it will exploit<BR>
parallelism wherever possible. And most functions are rip off of the<BR>
fortran -90 version of Numerical Recipies.<BR>
<BR>
Anyways, look over. And something really really bugs u, please email me at<=
BR>
mdsuresh_at_REMOVEMErediffmail.com. &nbsp;(Remember to remove REMOVEME). Mostl=
y,<BR>
it's still in prerelease mode. Your opnions are very important now, since<B=
R>
it's the right time to shape the library.<BR>
<BR>
cheers<BR>
Suresh</SPAN></FONT></FONT>
</BODY>
</HTML>