Set the seed for random number generation in ArrayFire.

arrayfire_set_seed(seed)

Arguments

seed

a (64bit) double whose bit representation is reinterpreted as a 64bit integer

Details

Sets the seed for the current default random engine in ArrayFire. Note that a (64bit) double is used as input, since R does not support 64bit integers.

References

http://arrayfire.org/docs/group__random__func__set__seed.htm