I've got simple task - draw block of matrices, when one of the matrices contains diagonal and vertical lines. I am able to make diagonal dotted lines but so far i have not succeeded with solid line. Example of my matrix follows:
\begin{pmatrix}
\hat{B} & & & & \\
& ddots & & & \\
& & ddots & & \\
& & & ddots \\\hline
\\
\\
& & \text{{\huge{0}}} & & \\
\\
\end{pmatrix}