Array creation routines#
This is the list of nodes available within VisuAlea in the numpy.creation package. The reference documentation is generated from numpy files, see also API reference on Numpy
Ones and zeros#
|
Return a new array of given shape and type, without initializing entries. |
empty_like(prototype, dtype=None, order='K', subok=True, shape=None, *, |
|
|
Return a 2-D array with ones on the diagonal and zeros elsewhere. |
|
Return the identity array. |
|
Return a new array of given shape and type, filled with ones. |
|
Return an array of ones with the same shape and type as a given array. |
|
Return a new array of given shape and type, filled with zeros. |
|
Return an array of zeros with the same shape and type as a given array. |
From existing data#
array(object, dtype=None, *, copy=True, order='K', subok=False, ndmin=0, |
|
|
Construct an array by executing a function over each coordinate. |
|
Load data from a text file. |
|
Load arrays or pickled objects from |
Numerical ranges#
|
Return evenly spaced values within a given interval. |
|
Return evenly spaced numbers over a specified interval. |
|
Return numbers spaced evenly on a log scale. |
|
Return a tuple of coordinate matrices from coordinate vectors. |
Building matrices#
|
Extract a diagonal or construct a diagonal array. |
|
Create a two-dimensional array with the flattened input as a diagonal. |
|
An array with ones at and below the given diagonal and zeros elsewhere. |
|
Lower triangle of an array. |
|
Upper triangle of an array. |
|
Generate a Vandermonde matrix. |