{"uid":"cap_v6Z-9igviO0ON_lp74S6B","slug":"forgemesh-linear-algebra-api-e0c3e7d1","name":"ForgeMesh Linear Algebra API","description":"Linear algebra operations on numeric matrices: multiply, add, transpose, invert, or find determinants and eigenvalues from structured array input. For robotics, computer graphics, systems-of-equations solving, and scientific computing agents that need reliable matrix arithmetic without hallucinated entries.","url":"https://x402.forgemesh.io/linear-algebra","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"matrix_a":{"type":"array","description":"2D array of numbers"},"matrix_b":{"type":"array","description":"2D array (multiply/add)"},"operation":{"type":"string","description":"determinant|inverse|transpose|eigenvalues|multiply|add"}}},"responseSchema":{"type":"json","example":{"result":10,"operation":"determinant"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HEaZoKZniP-_zik6blsa9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs matrix operations (multiply, add, transpose, invert, determinant, eigenvalues) on numeric 2D arrays via a paid API call.","exampleAgentPrompt":"Multiply matrix A [[1,2],[3,4]] by matrix B [[5,6],[7,8]] using the linear algebra endpoint — I need the resulting 2x2 product matrix.","exampleUseCases":null,"resultDescription":"Returns the computed result of the requested matrix operation: a 2D array for multiply/add/transpose/inverse, a scalar for determinant, or an array of eigenvalues — all numerically exact without hallucinated entries.","failureModes":["Non-square matrix passed to invert or determinant operation — returns error","matrix_b missing when operation is multiply or add","Mismatched matrix dimensions for multiply or add — dimension mismatch error","Invalid operation string not matching the enum — returns validation error","Singular matrix passed to inverse — returns error or infinity","Payment failure or insufficient USDC balance — 402 Payment Required"],"whenToPreferThis":"Prefer this endpoint when an AI agent needs reliable, exact numeric matrix arithmetic and cannot risk hallucinated matrix entries from an LLM. Especially suited for robotics kinematics, computer graphics transformation pipelines, solving systems of equations, or any scientific computing task requiring determinants, inverses, eigenvalues, or basic matrix arithmetic at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:57:53.697Z","isFirstParty":false}