|
CoCoALibCoCoALib is a GPL C++ library for doing Computations in Commutative Algebra.CoCoALib will be the mathematical kernel for the completely new system CoCoA-5 (no promises for the release date ;-) |
|
|
Following the CoCoA philosophy
CoCoALib is designed to be easy and pleasant to use,
so there is no need to be an expert C++ programmer,
no need to understand inheritance,
no need to know about memory allocation!
If you don't like programming in C++
you may use some of its features calling a "5" function
from CoCoA-4
(e.g.
GBasis5,
LT5, Gin5, etc.).
These functions call the CoCoAServer
(the "embryo" of CoCoA-5)
which is
included in the CoCoA-4 releases.
|
||
cd CoCoALib-0.99 ./configure makeThis will compile the library and run a series of tests. The code is quite portable, so just wait faithfully (don't worry about some "warning"s), and after a few minutes you'll get the reassuring message:
Good news: all tests passed
examples/ directory full of sample code using
CoCoALib. To run an example do this:
cd examples make ex-yyyyy [without the ".C"] ./ex-yyyyy
ex-empty.C is a useful starting point:
just put your code in the function "void program()" under the line
// Put your code here.