David Oberst wrote:
>From oberst@stats.gov.nt.ca Wed May 26 19:32:22 1999
Received: from rainier.extreme.indiana.edu (rainier.extreme.indiana.edu [129.79.253.105])
by whale.cs.indiana.edu (8.9.3/8.9.3/IUCS_2.28) with ESMTP id TAA10276
for <tveldhui@whale.cs.indiana.edu>; Wed, 26 May 1999 19:32:22 -0500 (EST)
Received: from oonumerics.org (oonumerics.org [129.97.244.7])
by rainier.extreme.indiana.edu (8.9.3/8.9.3/IUCS_2.28) with ESMTP id TAA24981
for <tveldhui@extreme.indiana.edu>; Wed, 26 May 1999 19:32:20 -0500 (EST)
Received: from minus40.gov.nt.ca (minus40.gov.nt.ca [198.161.24.1]) by oonumerics.org (AIX4.3/UCB 8.8.8/8.8.8UW) with ESMTP id UAA20138 for <tveldhui@oonumerics.org>; Wed, 26 May 1999 20:32:19 -0400
Received: from [199.247.20.13] (oberst.stats.gov.nt.ca [199.247.20.13]) by minus40.gov.nt.ca with ESMTP (8.7.6/8.7.3) id SAA20646 for <tveldhui@oonumerics.org>; Wed, 26 May 1999 18:37:29 -0600 (MDT)
Message-Id: <199905270037.SAA20646@minus40.gov.nt.ca>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Wed, 26 May 1999 18:32:13 -0600
Subject: Blitz and Metrowerks
From: "David Oberst" <oberst@stats.gov.nt.ca>
To: tveldhui@oonumerics.org
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Status:
X-Keywords:
X-UID: 103
I'm soon going to be rewriting an economic modelling program which I
originally did in Pascal. I'm looking for an existing array/matrix library
to handle storage and simple manipulations. The system has a two or three
large (679 by 231) float or double arrays. I only need the simplest math
routines - add, subtract, multiply, invert, row and column sums, pulling out
rows or column subsets, etc (I'm NOT a mathematician!). Since the arrays
(at least for the NWT) are full of rows and columns of zeroes, some sort of
sparse storage would also be nice. I was taking a look at Blitz, and
noticed that it didn't yet support the Metrowerks compiler (we are using
Metrowerks on Macintosh). The reason given was "doesn't support member
templates outside class declarations". I'm testing the upcoming Metrowerks
CW5 release (due in June, currently in beta) and the very first item in the
C++ release notes is:
* A member function template can now be defined outside it's class
definition
template<class T> class foo {
public:
template<class U> U bar(U);
};
template<class T> template<class U> U foo<T>::bar(U arg)
{
return arg+1;
}
The new CW5 compiler seems to pass the 4 mini-tests on the "blitz/platforms"
page on the website. I'll try and run the test programs, but of course on a
Mac I can't run BZconfig to create config.h. I'll try and manually put this
together the defines in this file, but I just wanted to make sure that noone
else has already done this.
If you have any other suggestions as to suitable libraries, please pass them
along. There also seems to be MTL (from the LSC group at Notre Dame), and
one or two others I've found so far.
--David Oberst/NWT Bureau of Statistics/Yellowknife, NWT, Canada oberst@stats.gov.nt.ca [Explore Canada's Arctic]
-- Todd Veldhuizen tveldhui@acm.org Indiana Univ. Comp. Sci. http://extreme.indiana.edu/~tveldhui/
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:10 EST