Struct rgsl::types::qrng::QRng[][src]

pub struct QRng { /* fields omitted */ }

Implementations

This function returns a pointer to a newly-created instance of a quasi-random sequence generator of type T and dimension d. If there is insufficient memory to create the generator then the function returns a null pointer and the error handler is invoked with an error code of Value::NoMemory.

This function reinitializes the generator self to its starting point. Note that quasi-random sequences do not use a seed and always produce the same set of values.

This function stores the next point from the sequence generator self in the array x. The space available for x must match the dimension of the generator. The point x will lie in the range 0 < x_i < 1 for each x_i.

This function returns a pointer to the name of the generator.

These functions return a pointer to the state of generator r and its size.

This function returns a pointer to the state of generator self.

This function returns a pointer to the state of generator self.

This function copies the quasi-random sequence generator src into the pre-existing generator dest, making dest into an exact copy of self. The two generators must be of the same type.

Trait Implementations

This function returns a pointer to a newly created generator which is an exact copy of the generator self.

Performs copy-assignment from source. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.