Re: Development in C# - Class to represent a multivariate polynomial expression



Anthony Nguyen wrote:

I am quite new to the implementation of the mathematical expressions in
programs. I am looking for a library in C# which would be able to
represent a multivariate polynomial expression.

I think your best bet is to find a Lisp or Scheme implementation in C#
and embed that in your program. If you choose to write the polynomial
stuff
directly in C#, chances are good you'll end up reinventing a lot of
Lisp-like
features. No need to reinvent the wheel here.

Once you have some version of Lisp (and for your purposes it is not
important if it is Common Lisp, Scheme, or some other variant)
it is easy to write code for polynomials or other algebraic operations.
This approach also makes it much easier to cope with feature creep,
e.g. someone wants trig functions in addition to polynomials.

FWIW
Robert Dodier

.