{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.polynomial.roots/1.2.1/input.json",
  "title": "Polynomial roots — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "coeffs": {
      "type": "string",
      "description": "c0,c1,…,cn constant first"
    },
    "a": {
      "type": "number",
      "description": "Cubic leading coefficient of ax³+bx²+cx+d"
    },
    "b": {
      "type": "number"
    },
    "c": {
      "type": "number"
    },
    "d": {
      "type": "number"
    },
    "x": {
      "type": "number",
      "description": "Evaluation point for Horner (method=evaluate)"
    },
    "method": {
      "type": "string",
      "enum": [
        "all_roots",
        "durand_kerner",
        "cardano",
        "evaluate",
        "horner"
      ]
    }
  },
  "description": "All roots of a real polynomial of degree 1–8, or Horner evaluation at a real x. Closed form for linear, quadratic, and cubic (Cardano); Durand–Kerner otherwise. Cubic discovery /cubic-equation. Evaluate discovery /polynomial-evaluate. Not the quadratic formula page, not Ferrari, not a single Newton root, not CAS. (calculation_version 1.2.1)"
}
