Converts a matrix to a typed array.
The matrix
Optional
The type of the typed array, which can be "int8", "int16", "int32", "float32", "float64", or "bigint64" (optional, defaults to "float32")
Converts a matrix to a typed array.