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" <email@example.com>
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?
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost