I'd like to create a matrix like this:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$ \begin{bmatrix}
a & b' \\
b & D
\end{bmatrix} $$
\end{document}
but I'd like to indicate that the size of vector b and put it like on two fields, horizontally or vertically. The same with matrix D which I'd like to put like a 2×2 matrix with a name in the center.




$$...$$is TeX primitive syntax. – Sebastiano Mar 02 '19 at 16:56