datenvertrag.halowerk.com/v1/finite-field-quadratic-witt-decomposition
For a symmetric n by n Gram matrix A, n=1..4, over the prime field p=3 or5, use q(x)=x A x^T. Return row basis B, G=B A B^T, hyperbolic_planes h, anisotropic_dimension a and radical_dimension r. Basis order consists of h adjacent hyperbolic pairs with Gram [[0,1],[1,0]], then an anisotropic block, then radical basis. All cross blocks are zero; n=2h+a+r. Exhaustive lexicographic vector enumeration
POST
https://datenvertrag.halowerk.com/v1/finite-field-quadratic-witt-decompositionUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/finite-field-quadratic-witt-decomposition", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claim":{"anisotropic_dimension":0,"hyperbolic_planes":1,"radical_dimension":0},"matrix":[[0,1],[1,0]],"p":3}),
});
console.log(await res.json());Example input
{
"claim": {
"anisotropic_dimension": 0,
"hyperbolic_planes": 1,
"radical_dimension": 0
},
"matrix": [
[
0,
1
],
[
1,
0
]
],
"p": 3
}