This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
The ANSI C Numerical Class Library
- To: gsl-discuss at sources dot redhat dot com
- Subject: The ANSI C Numerical Class Library
- From: "E. Robert Tisdale" <edwin at netwood dot net>
- Date: Mon, 24 Jul 2000 08:57:33 +0000
The ANSI C Numerical Class Library (NCL)
is intended to provide ANSI C numerical application programmers
with cheap, fast, safe and reliable vector, matrix and tensor arithmetic.
You can get a copy from
http://www.netwood.net/~edwin/svmt/
Just download the archived and compressed director stored in ncl.tgz,
uncompress it with with gunzip and unarchive it with tar.
The Makefile is in .../ncl/src/
There is a tiny example program in .../ncl/example/
Just type
make example
to make the example program.
The actual vector, matrix and tensor type definitions are concealed
from the application program in order to help prevent direct access
to vector, matrix and tensor data members.
Only NCL functions can access data members directly.
Once programmers have finished debugging an application,
they can define macros CNL_REVEAL to reveal
the actual type definition and define CNL_INLINE or CNL_MACROS
to override the external CNL functions with inline function definitions
or C preprocessor macros respectively.
The NCL_ERRANT macro has been define in .../ncl/src/Makefile
so that NCL functions check for programming errors and report them.
This error checking can be turned off by simply removing
the macro definition from .../ncl/src/Makefile and typing
make clean
then
make
again.