wgblas
    Preparing search index...

    Function resolveParam

    • Internal

      Builds a typed array for a named srotm/drotm param scenario. type selects Float32Array (srotm, the default) or Float64Array (drotm, via derive64's "param64" — see typedArrayCtor).

      Parameters

      • scenario: any

        one of "tooShort" (4 elements), "tooLong" (6 elements), "identity" (flag=−2), "fullMatrix" (flag=−1), "diagOne" (flag=0), "offDiagOne" (flag=1)

      • type: any

        spec.type — "float64array" for drotm's derived param64 spec

      Returns Float32Array<ArrayBuffer> | Float64Array<ArrayBuffer>

      typed array of length 5 with the appropriate flag and coefficients