{"uid":"cap_a8hjTh8PM_gEOSQdZWTJx","slug":"numora-matrix-trace-d547d8b8","name":"Numora Matrix Trace","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numormo.vercel.app/api/matrix/trace","method":"POST","headers":{},"bodySchema":{"type":"object","required":["A"],"properties":{"A":{"type":"array","description":"Matrix (2D array)"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5ZIzKqjyGtB8myWHLa_lJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the trace (sum of diagonal elements) of a square matrix","exampleAgentPrompt":"Calculate the trace of this matrix for me: [[4, 7, 2], [1, 3, 6], [5, 8, 9]] — I need the sum of its diagonal elements.","exampleUseCases":[{"title":"Eigenvalue analysis preprocessing","prompt":"I have a 4x4 matrix [[5,2,1,0],[3,8,4,1],[0,2,6,3],[1,0,2,7]] and I need its trace to verify that the sum of eigenvalues equals it — can you compute that for me?"},{"title":"Physics simulation matrix check","prompt":"For my simulation I need to confirm the trace of this 3x3 inertia tensor: [[10,0,0],[0,15,0],[0,0,20]] — what is it?"},{"title":"Machine learning covariance inspection","prompt":"I have a covariance matrix [[1.2, 0.4, 0.1],[0.4, 0.9, 0.3],[0.1, 0.3, 1.5]] and I need to quickly get its trace to understand total variance — can you calculate that?"}],"resultDescription":"Returns a JSON object with a boolean 'success' field, a 'result' object containing the scalar trace value (sum of main diagonal elements), and a 'computation' string describing what was calculated in human-readable form.","failureModes":["Non-square matrix provided — trace is only defined for square matrices","Malformed 2D array input — jagged arrays or non-numeric values will fail","Missing required 'A' field in request body","Empty matrix provided","Payment failure via x402 micropayment protocol — insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need a pure, zero-dependency mathematical computation of the matrix trace with no external service calls. Ideal for AI agents that need fast, reliable scalar results from matrix inputs and prefer micropayment-based pay-per-use pricing over subscription APIs. Best when correctness and simplicity matter more than visualization or symbolic output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:07:42.580Z","isFirstParty":false}