rand
Returns a vector of the specified size filled with random numbers uniformly distributed for: Int - [Int.MIN_VALUE, Int.MAX_VALUE) Long - [Long.MIN_VALUE, Long.MAX_VALUE) Float - [0f, 1f) Double - [0.0, 1.0)
Returns a matrix of the specified shape filled with random numbers uniformly distributed for: Int - [Int.MIN_VALUE, Int.MAX_VALUE) Long - [Long.MIN_VALUE, Long.MAX_VALUE) Float - [0f, 1f) Double - [0.0, 1.0)
inline fun <T : Number> Multik.rand( dim0: Int, dim1: Int, dim2: Int): D3Array<T>
Content copied to clipboard
inline fun <T : Number> Multik.rand( dim0: Int, dim1: Int, dim2: Int, dim3: Int): D4Array<T>
Content copied to clipboard
inline fun <T : Number> Multik.rand( dim0: Int, dim1: Int, dim2: Int, dim3: Int, vararg dims: Int): NDArray<T, DN>
Content copied to clipboard
inline fun <T : Number, D : Dimension> Multik.rand(shape: IntArray): NDArray<T, D>
Content copied to clipboard
Returns an NDArray of the specified shape filled with random numbers uniformly distributed for: Int - [Int.MIN_VALUE, Int.MAX_VALUE) Long - [Long.MIN_VALUE, Long.MAX_VALUE) Float - [0f, 1f) Double - [0.0, 1.0)