|
IntroductionIn this documentation we will explain you how to use EiffelMath in you Projects:
EiffelMath is a library of reusable object-oriented components for numerical computation, providing developers of scientific software with the full power of object technology. EiffelMath is built on top of the extensive C library of mathematical software produced by the Numerical Algorithms Group (NAG, one of the oldest and most respected collections of quality numerical software). EiffelMath is not just a straight Eiffel encapsulation of the functions of the NAG library but presents developers with a full O-O view of numerical abstractions, taking full advantage of the Eiffel method. By adding an object-oriented layer on top of the basic NAG routines, EiffelMath provides developers of numerical applications with a much simpler, natural and elegant interface. The benefits are due in particular to:
Technical InformationThe EiffelMath library provides support for:
EiffelMath is described in detail in Paul
Dubois's book Object Technology for Scientific Computing, which presents the design of the library, explains how best
to use it, and shows how best to use object technology for scientific developments. The library is located in $EIFFEL5/library/math . Getting Started
To install EiffelTime, you need to go to the directory $EIFFEL5\library\math\Clib and run make_msc.bat if your C compiler is Microsoft. (the Makefile for Borland does not exist yet).
Just launch finish_freezing - library in the directory $EIFFEL5/library/math/Clib.
How to configure your Ace fileIn order to use EiffelMath in an Eiffel Project, you have to include in your project, the right clusters and the right external files. Thus, you need to configure your Ace file. You can get all the information about Ace files here. To include the EiffelMath clusters you need to choose which one will be useful. By default you can include all the cluster of EiffelMath: bvp:
"$EIFFEL5\library\math\bvp"; If you need more information about all these different clusters, you can consult Paul Dubois's book Object Technology for Scientific Computing. Some Working examplesWe developed some examples that you can try to see how to use EiffelMath. All these examples are in : $EIFFEL5/examples/math |