Companion

object Companion : RecordCompanion<Rand, <Error class: unknown class>>

Functions

Link copied to clipboard
fun new(): Rand

Creates a new random number generator initialized with a seed taken either from /dev/urandom (if existing) or from the current time (as a fallback).

Link copied to clipboard
fun newWithSeed(seed: <Error class: unknown class>): Rand

Creates a new random number generator initialized with @seed.

Link copied to clipboard
open override fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): Rand

Wrap a CPointer pointing to a record of this type into its wrapper class.