toString

Formats the matrix elements as a string.

Parameters

digits Number

(Optional) Number of fractional digits.

separator String (default: ",")

The separator to place between elements.

Returns

String A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0".

In this article