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

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

Input matrix (m × n)

Example:
[[1, 2, 3], [4, 5, 6]]

Response

Successful Response

success
boolean
Example:

true

data
object