mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
465 B
465 B
Function zeros
create a matrix filled with zeros
zeros(m) zeros(m, n) zeros([m, n]) zeros([m, n, p, ...])
Parameters
| Parameter | Type | Description |
|---|---|---|
size |
...Number | Array |
Returns
| Type | Description |
|---|---|
| Array | Matrix | Number | matrix |