Skip to main content
POST
/
quantlib
/
numerical
/
linalg
/
inverse
Compute Matrix Inverse
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/numerical/linalg/inverse \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "A": [
    [
      4,
      7
    ],
    [
      2,
      6
    ]
  ]
}
'
{
  "success": true,
  "data": {
    "inverse": [
      [
        0.6,
        -0.7
      ],
      [
        -0.2,
        0.4
      ]
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
A
number[][]
required

Square non-singular matrix (n × n)

Example:
[[4, 7], [2, 6]]

Response

Successful Response

success
boolean
Example:

true

data
object