Zum Inhalt
HALOWERK

Datenvertragswerk

rational polynomial bezout ledger

For twointegerpolynomials degree<=3 in ascendingpowers, return monicQ[x]gcdG, exactA/G,B/G and rationalS,T withSA+TB=G. CanonicalS has degree<deg(B/G); B=0 usesS=1/lead(A),T=0; bothzero yieldsallzero(emptyarrays). Wholeidentitycoefficients returned. ClaimcomparesG mathematically; nullpolynomial/claim unknown. Fixed.003USDC alsovalidunknown. Noapproximate roots/CAS/networkcalls.

POST https://datenvertrag.halowerk.com/v1/rational-polynomial-bezout-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
aSiehe SchemaJa
bSiehe SchemaJa
claimed_gcdSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "a",
    "b",
    "claimed_gcd"
  ],
  "properties": {
    "a": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 4,
          "items": {
            "type": "integer",
            "minimum": -3,
            "maximum": 3
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "b": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 4,
          "items": {
            "type": "integer",
            "minimum": -3,
            "maximum": 3
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_gcd": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 4,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "numerator",
              "denominator"
            ],
            "properties": {
              "numerator": {
                "type": "integer",
                "minimum": -100000000,
                "maximum": 100000000
              },
              "denominator": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100000000
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "a": [
    -1,
    0,
    1
  ],
  "b": [
    -1,
    1
  ],
  "claimed_gcd": [
    {
      "numerator": -1,
      "denominator": 1
    },
    {
      "numerator": 1,
      "denominator": 1
    }
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →