Re: Computer Algebra Algorithms lisp vs. C.



That means parsing and printing each time you want to call a CAS
function which is fairly inefficient. Imagine you do that with
multivariate polynomials which tend to print to 1Mb size of text
even with a few variables.


A premature optimisation.


I don't understand why you speak of optimisation, if you have for some reason to manipulate multivariate polynomials, there is no way to avoid large data. Parsing and printing them each time you call a CAS function with a string interface would therefore cost (too) much time.

(I mean comparable to maxima, axiom or xcas), maybe someone will develop one, we'll see...


One of the ones I wrote would be a good example here. :-)

There are no open-source ones though, AFAIK.


Can you give a link to a non open-source CAS written with Ocaml which has comparable capabilities to the CAS I cited above? I'm not interested just in a parser, I mean something that can compute integrals, limits, can factor polynomials, reduce matrices etc. If so, how does it compare? .


Quantcast