Skip to main content
POST
/
quantlib
/
numerical
/
fft
/
convolve
FFT-based Convolution
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/numerical/fft/convolve \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "a": [
    1,
    2,
    3
  ],
  "b": [
    0.5,
    1,
    0.5
  ]
}
'
{
  "success": true,
  "data": {
    "result": [
      0.5,
      2,
      4,
      4,
      1.5
    ],
    "length": 5
  }
}

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 input sequence

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

Second input sequence

Example:
[0.5, 1, 0.5]

Response

Successful Response

success
boolean
Example:

true

data
object