matrix.cols

Syntax

i = matrix.cols(m)

Get the number of columns.

Returns:i - number of columns
Arguments:m - matrix pointer