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

    Interface Recommendation

    Recommendation that may select the optional WebGPU backend.

    interface Recommendation {
        algorithm: RandomAlgorithm;
        alternatives: readonly string[];
        backend: PhiloxBackendPreference;
        confidence: RecommendationConfidence;
        reason: string;
    }

    Hierarchy

    Index
    algorithm: RandomAlgorithm

    Recommended random-number algorithm.

    alternatives: readonly string[]

    Other configurations worth considering for this workload.

    Recommended CPU or WebGPU backend preference.

    Whether benchmarking is needed before relying on the recommendation.

    reason: string

    Explanation of the workload trade-offs behind the recommendation.