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.70 & 0.69 & -0.18\\ -0.70 & -0.72 & -0.032\\ -0.15 & 0.10 & 0.98\\\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.70 & 0.94 & 0.47\\\end{bmatrix}$
${\bf c} = \begin{bmatrix} 0.7022\\ 0.9449\\ 0.4657\\\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.701 & 0.690 & -0.180\\ -0.697 & -0.716 & -0.032\\ -0.151 & 0.104 & 0.983\\\end{bmatrix}^T
\begin{bmatrix} x \\ y \\ z \end{bmatrix}
\begin{bmatrix} 0.7022\\ 0.9449\\ 0.4657\\\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$