I want to get a matrix of arrays, and I cannot make it aligned. I tried blkarray and bmatrix, but none of them works for me. Could somebody help me out? Code below is what I wrote:
a = \left[
\begin{array}{c@{}c@{}c}
\left[\begin{array}{ccc}
255 & 0 & 0 \\
\end{array}\right] & \left[\begin{array}{ccc}
0 & 94.5 & 94.5 \\
\end{array}\right] \\
\left[\begin{array}{ccc}
0 & 99 & 0 \\
\end{array}\right] & \left[\begin{array}{ccc}
0 & 0 & 9 \\
\end{array}\right] \\
\end{array}\right]
\end{equation*}
And it turn out to be misaligned: