Module rand

Module rand 

Source
Expand description

Constructors for creating random matrices.

This module provides functions and builders for creating matrices filled with random values from various distributions such as normal distribution and uniform distribution.

Structs§

NormalBuilder
A builder for creating matrices filled with random values from a normal distribution.
UniformBuilder
A builder for creating matrices filled with random values from a uniform distribution.

Functions§

normal
Creates a matrix filled with random values from a normal distribution.
normal_like
Creates a matrix filled with random values from a normal distribution with the same shape as another matrix.
uniform
Creates a matrix filled with random values from a uniform distribution.
uniform_like
Creates a matrix filled with random values from a uniform distribution with the same shape as another matrix.