AutoMovie API
    Preparing search index...

    What a trajectory is integrated from.

    interface IProps {
        errorScope?: symbol;
        f: (
            t: number,
            x: readonly number[],
            q: IAutoMovieQuaternion | null,
        ) => IAutoMovieIntegrateMotionTrajectory.IRate;
        h?: number;
        partition?: IPartition;
        q0?: IAutoMovieQuaternion;
        rotationDefect?: (
            seconds: number,
            q: IAutoMovieQuaternion,
            w: IAutoMovieVector3,
        ) => number;
        t0: number;
        t1: number;
        tolerance?: IAutoMovieIntegrateMotionTrajectory.ITolerance;
        x0: readonly number[];
    }
    Index
    errorScope?: symbol

    Optional caller-owned unique symbol correlating this operation's failures. Admitted before the first RHS and copied only to this integration's MotionTrajectoryFailure; it affects no numerical decision and is not passed to f or rotationDefect.

    f: (
        t: number,
        x: readonly number[],
        q: IAutoMovieQuaternion | null,
    ) => IAutoMovieIntegrateMotionTrajectory.IRate

    The right-hand side: the state's rate at a time, and with an orientation the body-frame angular velocity, radians per second. Pure.

    h?: number

    The step, seconds, positive; STEP when absent. Under a tolerance, the first step tried.

    partition?: IPartition

    Optional operation-owned adaptive time mesh. Every trial still computes and admits its own states, RMS and dense physical defect; only exact interval boundaries are shared. The caller releases the mesh after its whole operation. Ignored in fixed-step mode.

    The orientation at t0, a unit quaternion; absent for a state without one.

    rotationDefect?: (
        seconds: number,
        q: IAutoMovieQuaternion,
        w: IAutoMovieVector3,
    ) => number

    Optional continuous rotation-defect admission. Receives film seconds, the dense orientation and its actual body angular velocity in rad/s. The pure callback returns a nonnegative error normalized in its own physical units: at most one admits, Infinity rejects. Adaptive dense control checks paired extensions independently of the existing RMS. Requires both q0 and an adaptive tolerance; otherwise admission throws. Smoothness underlies the sampled estimator; arbitrary unsampled history features and a downstream finite-difference observer are not certified. Borrowed numeric records must not be mutated or retained for mutation.

    t0: number

    The first second.

    t1: number

    The last second, after t0.

    Error control: when given, the trajectory is integrated by the Dormand-Prince 5(4) pair with steps chosen so each step's error estimate stays within it, and read between knots by the pair's continuous extension; when absent, the fixed-step classical method.

    x0: readonly number[]

    The vector state at t0.