invoke
Creates a new array with the specified shape.
Return
the created array
Parameters
shape
the shape of the array
Creates a new array with the specified shape.
Since
1.2.0
Parameters
rows
the number of rows
cols
the number of columns
Creates a new flat array with the specified size and initializes it with the given function.
Return
the created array
Parameters
size
the size of the array
init
the initialization function
Creates a new 2D array with the specified shape and initializes it with the given function.
Return
the created array
Parameters
num Rows
the number of rows
num Columns
the number of columns
init
the initialization function
Creates a new 3D array with the specified shape and initializes it with the given function.
Return
the created array
Parameters
x
the size of the first dimension
y
the size of the second dimension
z
the size of the third dimension
init
the initialization function