Search
Search Results
Search finished, found 20 page(s) matching the search query.
- numpy.ones_like
...NumPy reference Routines and objects by topic Array creation routines numpy.ones_like...
- numpy.ma.ones_like (Python data, in numpy.ma.ones_like)
- numpy.ones_like (Python function, in numpy.ones_like)
- NumPy 1.17.0 Release Notes
...out initializing the new entries. empty_like and related functions now accept a shape argument empty_like, full_like, ones_like and zeros_like now accept a shape keyword argument, which can be used to create a new array as the prototype,...
- NumPy 2.0.0 Release Notes
...device keyword-only arguments were added to: asarray, arange, empty, empty_like, eye, full, full_like, linspace, ones, ones_like, zeros, and zeros_like. For all these new arguments, only device="cpu" is supported. (gh-25233) StringDType...
- NumPy quickstart
...0) # useful to evaluate function at lots of points >>> f = np.sin(x) See also array, zeros, zeros_like, ones, ones_like, empty, empty_like, arange, linspace, random.Generator.random, random.Generator.normal, fromfunction, fromfile...
- numpy.array
...ct satisfying the specified requirements. See also empty_likeReturn an empty array with shape and type of input. ones_likeReturn an array of ones with shape and type of input. zeros_likeReturn an array of zeros with shape and type o...
- numpy.empty_like
...Returns: outndarrayArray of uninitialized (arbitrary) data with the same shape and type as prototype. See also ones_likeReturn an array of ones with shape and type of input. zeros_likeReturn an array of zeros with shape and type o...
- numpy.full_like
..._value with the same shape and type as a. See also empty_likeReturn an empty array with shape and type of input. ones_likeReturn an array of ones with shape and type of input. zeros_likeReturn an array of zeros with shape and type o...
- numpy.ma.empty_like
...turns: outMaskedArrayArray of uninitialized (arbitrary) data with the same shape and type as prototype. See also ones_likeReturn an array of ones with shape and type of input. zeros_likeReturn an array of zeros with shape and type o...
- numpy.ma.masked_all_like
- numpy.ma.ones
- numpy.ma.ones_like
- numpy.ma.zeros_like
- numpy.ones
- numpy.ones_like
- numpy.random.Generator.uniform
- numpy.random.RandomState.uniform
- numpy.random.uniform
- numpy.zeros_like