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.080 & 0.96 & 0.26\\ -0.62 & 0.15 & -0.77\\ -0.78 & -0.22 & 0.59\\\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.64 & 0.80 & 0.71\\\end{bmatrix}$
${\bf c} = \begin{bmatrix} 0.6443\\ 0.8028\\ 0.7081\\\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.080 & 0.963 & 0.258\\ -0.623 & 0.154 & -0.767\\ -0.778 & -0.222 & 0.587\\\end{bmatrix}^T
\begin{bmatrix} x \\ y \\ z \end{bmatrix}
\begin{bmatrix} 0.6443\\ 0.8028\\ 0.7081\\\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$