Re: scientific library in obj-C
Re: scientific library in obj-C
- Subject: Re: scientific library in obj-C
- From: Per Persson <email@hidden>
- Date: Fri, 7 Sep 2001 13:29:05 +0200
check out:
ftp://next-ftp.peak.org/pub/openstep/multi-
platforms/sourcelibrary/classes/MathArray.0.60.s.tar.gz
I'm not sure if this covers your needs, but I found it interesting...
I got it to build (from the commandline), but haven't tested it
extensively
/Per
from the readme:
----
MathArray: Class library for mathematical manipulation of matrices
MathArray is a general library of classes for performing mathematical
operations on arrays (vectors, matrices, etc) of values. It can
operate on any standard 'C' number type plus numbers of complex
type. MathArray is implemented using a "class cluster" concept,
allowing one to perform mathematical calculations on a number without
necessarily being aware of what type (class) of number is being
operated on. MathArray knows implicitly what types of operations can
be performed on what types of numbers and will automatically cast
itself to the correct number type representation to handle the
specific operation. Standard operations include addition, scalar and
matrix multiplication and logical operations. Mathematical operations
in the standard C math library are also supported, as well as
user-defined functions.
MathArray also supports the NSDecimal type on systems that have this
Foundation extension.
MathArray also does much more. Arrays can be manipulated, transposed and
concatenated. One can extract subarrays or include subarrays within
larger
arrays.
-----
Does anyone know of a publicly available library for
numerical/scientific applications, written in obj-C? Basically, a linear
algebra library, providing matrix/vector classes and operations. I guess
it would be easy to simply wrap BLAS routines in Obj-C classes, but has
anyone else already done this and made the result available?
Drew McCormack