Utilitary function that returns a new n-dimensional array of dimension shape with the same
datatype and memory order as the input arr.
A function helper for testing that some result is ok
Creates an n-dimensional array from an iterator of n dimensional arrays.
Generate a random array of complex numbers with real and imaginary parts in the range [0, 1)
creates a matrix from the given shape filled with numerical elements [0, n) spaced evenly by 1
Round the given value to the given number of decimal places.
Creates a random array from a uniform distribution using a given key
Creates a larger array from an iterator of smaller arrays.
Given a shape, generate a random array using the StandardNormal distribution
Returns the lower triangular portion of a matrix.
Returns the upper triangular portion of a matrix.