davidedc / Algebrite

Computer Algebra System in Javascript (Typescript)
http://algebrite.org
MIT License
968 stars 59 forks source link

roots: the polynomial is not factorable #130

Closed VincentLesbros closed 3 years ago

VincentLesbros commented 3 years ago

Hi, I am new to Algebrite, I install the latest version 1.3.1 Algebrite-master/dist/algebrite.bundle-for-browser.js and it isn't working for this simple example:

console.log(Algebrite.roots("-2*z+x^2+y^2", "z").toString());

    // version "1.2.0" => 1/2*x^2+1/2*y^2
    // version: "1.3.1" :
    // Uncaught Error: Stop: roots: the polynomial is not factorable, try nroots