Documentation
    Preparing search index...

    Type Alias IntegratorFn

    IntegratorFn: (
        state: IntegratorState,
        acceleration: AccelerationFn,
        t: number,
        dt: number,
    ) => void

    Advances state from t to t + dt in place, using acceleration for the right-hand side. Returns nothing — the result is the mutated state.

    This is exactly the signature pinned by the implementation plan (WP-2.1); AccelerationFn is a name for the callback type, not a change to it.

    Type Declaration