Skip to main content
POST
/
quantlib
/
numerical
/
linalg
/
outer
Vector Outer Product
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/numerical/linalg/outer \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "a": [
    1,
    2,
    3
  ],
  "b": [
    4,
    5
  ]
}
'
{
  "success": true,
  "data": {
    "result": [
      [
        4,
        5
      ],
      [
        8,
        10
      ],
      [
        12,
        15
      ]
    ]
  }
}

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

First vector (m elements)

Example:
[1, 2, 3]
b
number[]
required

Second vector (n elements)

Example:
[4, 5]

Response

Successful Response

success
boolean
Example:

true

data
object