Wilang Documentation1.0.0+4

size#

Calculate the size of a matrix.

Available in: math cells, REPL.

Syntax#

size(x)

Arguments and behavior#

For matrices, dimensions must match the operation. Singular matrices or incompatible shapes can fail. Cell indexing starts at 1. The example returns matrix.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
size(2.3)

Expected result: matrix.

See also#

concat · count · det · diag · identity · inv · ones · range · squeeze · subset · trace · transpose · zeros

All functions · Math guides