---
title: "Dual Eval"
method: POST
path: "/quantlib/core/autodiff/dual-eval"
tags: ["quantlib-core"]
---

# Dual Eval

`POST /quantlib/core/autodiff/dual-eval`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/quantlib/core/autodiff/dual-eval`
- Auth: API key in header `X-API-Key`

Evaluate a function and its derivative using dual numbers (automatic differentiation)

## Request body

- DualEvalRequest: Evaluate f(x) and f'(x) using autodiff. func_name: one of 'exp', 'log', 'sin', 'cos', 'sqrt', 'power'
  - `func_name` string, required
  - `x` number, required
  - `power_n` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fincept/apis/fincept-api.md) · [All operations](https://skmtc.dev/fincept/apis/fincept-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fincept/apis/fincept-api/revisions/e9c0076ea55a?raw)
