Skip to content

Intermact API Reference / @intermact/core / slopeAt

Function: slopeAt() ​

slopeAt(fn, at, dx?): number

Defined in: packages/core/src/constructs/graphs.ts:152

Slope of fn at at via central finite difference.

Parameters ​

fn ​

(x) => number

at ​

number

dx? ​

number = 1e-3

Returns ​

number

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)