Skip to main content
POST
/
quantlib
/
numerical
/
linalg
/
matvec
Matrix-Vector Multiplication
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/numerical/linalg/matvec \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "A": [
    [
      1,
      2,
      3
    ],
    [
      4,
      5,
      6
    ]
  ],
  "x": [
    1,
    2,
    3
  ]
}
'
{
  "success": true,
  "data": {
    "result": [
      14,
      32
    ]
  }
}

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

Matrix (m × n)

Example:
[[1, 2, 3], [4, 5, 6]]
x
number[]
required

Vector (n × 1)

Example:
[1, 2, 3]

Response

Successful Response

success
boolean
Example:

true

data
object