Skip to main content
POST
/
quantlib
/
numerical
/
fft
/
inverse
Inverse Fast Fourier Transform
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/numerical/fft/inverse \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "data": [
    20,
    -4.828,
    0,
    -0.172,
    0,
    -0.172,
    0,
    -4.828
  ]
}
'
{
  "success": true,
  "data": {
    "real": [
      1,
      2,
      3,
      4,
      4,
      3,
      2,
      1
    ],
    "imag": [
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "n": 8
  }
}

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
data
number[]
required

Frequency domain data (real parts, imaginary assumed zero)

Example:
[20, -4.828, 0, -0.172, 0, -0.172, 0, -4.828]

Response

Successful Response

success
boolean
Example:

true

data
object