dlm-js
    Preparing search index...

    Class StateMatrix

    Lightweight wrapper around a flat row-major [n, m] TypedArray buffer. Zero-copy construction from consumeData() output — no transpose.

    Provides three access patterns:

    • at(t): zero-copy subarray view of all states at time t (length m)
    • series(i): copied time series of state component i (length n)
    • get(t, i): single scalar element

    Constructors

    Properties

    Flat row-major [n, m] buffer

    m: number

    State dimension

    n: number

    Number of timesteps

    Methods

    • Single element: state i at time t

      Parameters

      • t: number
      • i: number

      Returns number