Contents

BNNSCreateRandomGeneratorWithSeed(_:_:_:)

Returns a new random number generator using the specified seed.

Declaration

func BNNSCreateRandomGeneratorWithSeed(_ method: BNNSRandomGeneratorMethod, _ seed: UInt64, _ filter_params: UnsafePointer<BNNSFilterParameters>?) -> BNNSRandomGenerator?

Parameters

  • method:

    The method that the generator uses to generate random numbers.

  • seed:

    The random seed that this function uses to initialize the generator.

  • filter_params:

    The filter runtime parameters.

Return Value

A pointer to the random generator.

See Also

Random number generation