function testLocalMinimums() { $p = new Math_Polynomial('x^4 - 44x^3 - 66x^2 + 187x + 210'); $maxs = Math_PolynomialOp::getLocalMinimums($p); $this->assertEquals(array(33.931931669052105, -1.7288523870096473), $maxs); }
function testLocalMinimums() { $p = new Math_Polynomial('x^4 - 44x^3 - 66x^2 + 187x + 210'); $maxs = Math_PolynomialOp::getLocalMinimums($p); $this->assertEquals(array(33.931931669052105, -1.7288523870096473), $maxs); }