screamer.js
    Preparing search index...

    Function reshape

    • Reshape data by a layout string: T (time), A (asset), F (field), with an optional -> and the wanted result, as in Python's screamer.reshape. Returns the same buffer with a new shape, or a copy when axes are reordered.

      Parameters

      • x: number[] | Float64Array<ArrayBufferLike> | NdArray
      • layout: string

      Returns NdArray