Hi Adam and folks,
A N-dimensional 'tensor' class would be useful, it wouldn't
nescessarly require linear algebra functions for how I intend to
use it. I would more likely use it as a N-dimensional 'storage
space' to set and get values.
Does anybody have any in put on how this might be realised? Adam
has obviously done a lot of work with arrays and matrices so I
thought you might have some idea. Are you aware of any pit-falls
in this approach?
So far I have made my own 1D, 2D, 3D and 4D classes, but this
approach (at least my implentation!) is cluncky and not very
satisfying to say the least. It would be nice to unify these
classes into one and just be able to specify some dimensional
space of a certain size.
Cheers,
Dan.
On 13 Mar 2007, at 04:32, Adam Fedor wrote:
On Mar 12, 2007, at 3:29 PM, Stefan Bidigaray wrote:
One question about MathArray, since it seems that Adam is the
maintainer, does it hold NSNumbers or C types? I was a bit
confused by the README, but I think it says it offers it, I just
want to double check since I have your attention!
It would be not very efficient for it to hold NSNumbers, although
can easily transfer data from matrices to/from individual
NSNumbers. It holds all C data types plus complex numbers.
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep