From: Jason D Schmidt (jd.schmidt_at_[hidden])
Date: 2002-09-10 21:18:34
I do a lot of computational physics, and I think a grid-type class might
be really useful. I work with a lot guys who use Matlab, but I'd like to
see similar numerical support (particularly 2+ dimensional arrays) in C++
because its language, library, and performance is far superior to Matlab.
What advantages does the grid class have over Boost's multi-array?
Also, as an open question for any authority on Boost's multi-array, what
does the multi-array provide in the way of numerical support (maybe as
opposed to uBLAS)? How well does it integrate with STL (much better than
std::valarray<T>, I hope)?
Date: Thu, 5 Sep 2002 18:38:09 -0700
From: "Garrett Jones" <alkaline_at_[hidden]>
Subject: [boost] query: interest in 2-dimensional container (grid)
I've been watching the list for a couple days, and i was wondering if
was interest in a 2-dimensional container template class, which would be
called "grid". It is possible to make a 2-dimensional grid with vectors,
all of the internal vectors have to be resized independently and they
all be in different locations of memory. The grid template would have a
single area in memory for the contents, and data could be accessed as if
were a 2-dimensional array:
vGrid = 0;
This is done by using a surrogate class, gridrow. Passing it to functions
void dosomething(grid<int> &rGrid);
I already have the basics working and have used it successfully in a
(one-user) programs. So, if there is interest, what do i do to prepare it
for submission? Also, are there already template classes available
with this type of functionality?
-- Garrett Jones http://www.alkaline.org ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk