I could not equalize the matrices with the line and square properly. Also, is it possible to write its 3-dimensional version, that is, a 3-dimensional matrix equalized with a cube?
\begin{equation}
(\square,\square,\square,\cdots,\square)=\noindent\rule{2cm}{0.3pt}
\end{equation}
\begin{equation}
\begin{pmatrix}
\square & \square & \dots & \square \\
\square & \square & \dots & \square \\
\hdotsfor{4} \\
\square & \square & \dots & \square
\end{pmatrix}
=
\begin{tikzpicture}
\draw[thick] (0,0) -- (0,1) -- (2,1) -- (2,0);
\draw[thick] (0,0) -- (0,-1) -- (2,-1) -- (2,0);
\end{tikzpicture}
\end{equation}
