Skip to main content

Dimensions

Returns the dimensions of a matrix.

Syntax

dimensions(Matrix)

Description

Given a matrix, returns two numbers: the number of rows and the number of columns.

linear_algebra.dimensions1.calc.png