wgblas
    Preparing search index...
    • Builds a correctly-sized vector for an edge case from n/inc alone, filled with a sentinel (99) at every position. A routine that only ever touches vec[i*inc] for i in [0,n) — whether overwriting it or accumulating into it — leaves every other position exactly as it started, so a uniform sentinel fill makes "the right positions changed" and "the gap positions were left alone" both observable, without hand-typing a buffer sized to match n/inc. dtype defaults to Float32Array; pass Float64Array for an f64 routine's edge cases (e.g. dtrmv).

      Parameters

      • n: any
      • inc: any
      • sentinel: number = 99
      • dtype: Float32ArrayConstructor = Float32Array

      Returns Float32Array<ArrayBuffer>