{"uid":"cap_MKDUjtGArpX4zqQpG0pB_","slug":"sindri-linear-equation-solver-5b5829a9","name":"Sindri Linear Equation Solver","description":"Solves a system of linear equations (Ax = b) using the ml-matrix library's LU decomposition (LuDecomposition), with a near-singularity guard beyond the library's exact-singular check, for systems up to 20x20.","url":"https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/solveLinearEquation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"constants":{"type":"array","description":"Array of n constants (the right-hand side of each equation)."},"coefficients":{"type":"array","description":"Square 2D array of coefficients (n x n), up to 20x20."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mBKzQBO4VaJ3P1f4RiNuQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Solves a system of linear equations (Ax = b) using LU decomposition for up to 20x20 systems, with a near-singularity guard.","exampleAgentPrompt":"Solve this system of linear equations for me: the coefficients are [[2,1,-1],[−3,−1,2],[−2,1,2]] and the right-hand side constants are [8,−11,−3].","exampleUseCases":[{"title":"Circuit network current solver","prompt":"I have a set of 3 simultaneous equations from a resistor network — coefficients [[4,-1,0],[-1,3,-1],[0,-1,2]] and constants [5,10,7]. Solve for the currents."},{"title":"Structural load balancing","prompt":"I need to solve a 4x4 system of equations for beam load distribution. The coefficient matrix is [[2,1,0,0],[1,3,1,0],[0,1,3,1],[0,0,1,2]] and the constants vector is [10,20,20,10]."},{"title":"Economic supply-demand equilibrium","prompt":"Solve this 2x2 linear system for market equilibrium prices — coefficients [[3,-1],[-2,4]] and constants [9,12]."}],"resultDescription":"Returns the solution vector x satisfying Ax = b, computed via LU decomposition. If the matrix is singular or near-singular, an error is returned instead of an unreliable result.","failureModes":["Singular or near-singular matrix detected — returns error rather than an unstable solution","Matrix not square (n x n required) — validation error","Dimension mismatch between coefficients matrix and constants vector","System size exceeds 20x20 limit","Malformed or non-numeric input values"],"whenToPreferThis":"Choose this endpoint when you need a fast, reliable numerical solution to a small-to-medium system of linear equations (up to 20x20) without setting up a local math library. It's ideal for one-off computational tasks in agentic workflows, offering a near-singularity guard that makes it safer than naive Gaussian elimination. Prefer it over general-purpose compute if you just need Ax = b solved quickly at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:44:18.461Z","isFirstParty":false,"canonicalSlug":"sindri-linear-equation-solver-5b5829a9"}