Back to NDArray Operations
ndarray_zeros
Create a vector or matrix of zeros.
Syntax
ndarray_zeros(n: Int64) → r
Backends
TypeScriptnumwa
Description
Create a vector or matrix of zeros.
Parameters
| Name | Description |
|---|---|
| n | Number of rows (or length for 1D) |
Returns
NDArray filled with zeros