Codewerk
formula solve
Symbolic and exact numeric operations with mathjs: simplify (algebraic rule set), derivative with respect to one variable, polynomial roots up to degree 3 (closed form) from coefficients, and linear systems A·x = b via LU decomposition. This is not a full computer algebra system; general non-linear equations are rejected rather than approximated. (Catalog name was sympy-solve; renamed because SymPy is not used.)
POST https://code.halowerk.com/v1/formula-solveInputs
| Field | Type | Required | Description |
|---|---|---|---|
| operation | string | Yes | |
| expression | string | No | |
| variable | string | No | |
| coefficients | array | No | Polynomial coefficients from constant term upward: c0, c1, c2, c3. |
| matrix | array | No | |
| vector | array | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"operation"
],
"properties": {
"operation": {
"type": "string",
"enum": [
"simplify",
"derivative",
"polynomial_roots",
"linear_system"
]
},
"expression": {
"type": "string",
"maxLength": 2000
},
"variable": {
"type": "string",
"pattern": "^[a-zA-Z]\\w{0,10}$",
"default": "x"
},
"coefficients": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "number"
},
"description": "Polynomial coefficients from constant term upward: c0, c1, c2, c3."
},
"matrix": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "number"
}
}
},
"vector": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "number"
}
}
}
}Published input example
{
"operation": "derivative",
"expression": "x^3 + 2x",
"variable": "x"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea