This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The ANSI C Numerical Class Library


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]