Function: matrixToTexString()
matrixToTexString(
data):string
Defined in: mobjects/matrix/MatrixHelpers.ts:128
Converts a 2D array of numbers or strings to a LaTeX bmatrix string.
Parameters
data
(string | number)[][]
Returns
string
Example
matrixToTexString([[1, 2], [3, 4]])
// => "\\begin{bmatrix} 1 & 2 \\\\ 3 & 4 \\end{bmatrix}"