wgblas
    Preparing search index...
    • Throws unless value is a host array of HostType or a GPU-resident GpuType.

      Parameters

      • name: string
      • value: unknown
      • HostType: Function

        e.g. Float32Array

      • GpuType: Function

        GpuVector or GpuMatrix. Its message uses the class's own typeName: .name doesn't survive bundling or minification. (HostType is a built-in, whose .name does.)

      Returns void

      e.g. "A must be a Float32Array or GpuMatrix."