Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library for polynomial calculus in Java? [closed]

Are there any (preferably open source) library for Java that allows one to do calculus with polynomial e.g. addition, multiplying, dividing by constans etc. ?

Also if it would be capable to interpolate several 2D points in a polynomial with Lagrange polynomial interpolation, it will be a plus.

like image 569
Alexandru Chirila Avatar asked Feb 21 '23 12:02

Alexandru Chirila


1 Answers

You might want to have a look at the Apache Commons Mathematics Library.

Polynomials are handled with PolynomialFunction and you can do a Lagrange interpolation with PolynomialFunctionLagrangeForm

like image 198
Jean Logeart Avatar answered Mar 13 '23 02:03

Jean Logeart