Operation: (
sample: (
t: number,
) => { normal: readonly number[]; value: readonly number[] } | undefined,
domain: readonly [number, number],
bounds: readonly [number, number],
maximumExchanges: number,
roundoffMm: number,
) => readonly [number, number] | undefined
Type Declaration
-
- (
sample: (
t: number,
) => { normal: readonly number[]; value: readonly number[] } | undefined,
domain: readonly [number, number],
bounds: readonly [number, number],
maximumExchanges: number,
roundoffMm: number,
): readonly [number, number] | undefined
-
Parameters
- sample: (
t: number,
) => { normal: readonly number[]; value: readonly number[] } | undefined
- domain: readonly [number, number]
- bounds: readonly [number, number]
- maximumExchanges: number
- roundoffMm: number
Returns readonly [number, number] | undefined
Balance a bitangent conic's signed normal extrema with numerical exchange. Initial source nodes bracket witnessed displacement peaks. Golden-section refinement locates each such peak between nodes, then its source coordinate joins the coefficient bisection and the two signed lobes are rebalanced. This implements the extrema/equioscillation criterion of Ghosh et al. (2007), sections 3.2–3.3 and 6, without treating a fixed grid maximum as a supremum. The returned tuple is [rho, refined maximum displacement in millimetres]. Finite peak brackets still do not certify that an arbitrary callback has no unwitnessed extrema; exhausted exchange or an invalid normal returns absent. Source endpoints have displacement zero by exact endpoint interpolation.