polynomialRoot.js 578 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.polynomialRootDocs = void 0;
  6. var polynomialRootDocs = {
  7. name: 'polynomialRoot',
  8. category: 'Algebra',
  9. syntax: ['x=polynomialRoot(-6, 3)', 'x=polynomialRoot(4, -4, 1)', 'x=polynomialRoot(-8, 12, -6, 1)'],
  10. description: 'Finds the roots of a univariate polynomial given by its coefficients starting from constant, linear, and so on, increasing in degree.',
  11. examples: ['a = polynomialRoot(-6, 11, -6 1)'],
  12. seealso: ['cbrt', 'sqrt']
  13. };
  14. exports.polynomialRootDocs = polynomialRootDocs;