The element pl-matrix-latex can be used to display 2D numpy arrays and scalars.
Display a 2D array of floats with 2 significant figures, by setting
presentation-type="sigfig" and digits="2"
${\bf A} = \begin{bmatrix} -0.59 & 0.70 & -0.41\\ -0.19 & -0.61 & -0.77\\ -0.79 & -0.37 & 0.49\\\end{bmatrix}$
Display a 1D array a = np.array(3). To use this element, we first need to wrap the
1D array as a 2D array. For example, we use
b = a.reshape((1, M)) to display
as a row-vector or c = a.reshape((M, 1)) to display as a column vector:
${\bf b} = \begin{bmatrix} 0.93 & 0.89 & 0.88\\\end{bmatrix}$
${\bf c} = \begin{bmatrix} 0.9265\\ 0.8860\\ 0.8755\\\end{bmatrix}$
To display b we use digits="2" presentation-type="f"
and to display c we use digits="4".
We can write systems of linear equations ${\bf A}^T{\bf x} = {\bf c}$
as such:
$$ \begin{bmatrix} -0.586 & 0.701 & -0.406\\ -0.193 & -0.607 & -0.771\\ -0.787 & -0.373 & 0.492\\\end{bmatrix}^T
\begin{bmatrix} x \\ y \\ z \end{bmatrix}
\begin{bmatrix} 0.9265\\ 0.8860\\ 0.8755\\\end{bmatrix}$$
When the element pl-matrix-latex is used to display a scalar,
it results in printing the scalar as a string, without any brackets around it.
$x = 2.1$