We know how to label a matrix and reference it. It is done by \label and \ref. Could we label a matrix with a label and reference it likewise?
This matrix with a label is from here
https://tex.stackexchange.com/questions ... characters
Code: Select all
\documentclass[12pt]{report}
\usepackage{blkarray}
\usepackage{amsmath}
\begin{document}
\[
\begin{blockarray}{cccccc}
a & b & c & d & e \\
\begin{block}{(ccccc)c}
1 & 1 & 1 & 1 & 1 & f \\
0 & 1 & 0 & 0 & 1 & g \\
0 & 0 & 1 & 0 & 1 & h \\
0 & 0 & 0 & 1 & 1 & i \\
0 & 0 & 0 & 0 & 1 & j \\
\end{block}
\end{blockarray}
\]
\end{document}