@neutrium/rand API - v2.0.0
    Preparing search index...

    Interface RandomCreateOptions

    Bulk generator options with optional WebGPU acceleration.

    interface RandomCreateOptions {
        algorithm?: RandomAlgorithm;
        backend?: PhiloxBackendPreference;
        counter?: number;
        seed?: Seed;
        stream?: Seed;
        timestamp_query?: boolean;
    }

    Hierarchy

    Index
    algorithm?: RandomAlgorithm

    Generator algorithm; defaults to Xoshiro256++.

    Backend preference; auto selects an available backend for the request size.

    counter?: number

    Initial Philox block counter; defaults to zero and must be a non-negative safe integer.

    seed?: Seed

    Deterministic seed; defaults to zero. System CSPRNG does not accept a seed.

    stream?: Seed

    Stream identifier for PCG or Philox; defaults to zero.

    timestamp_query?: boolean

    Request WebGPU timestamp-query support for Philox GPU timing.