ul class="collapse">
  <li><a href="#base-variable-type-declaration" id="toc-base-variable-type-declaration" class="nav-link" data-scroll-target="#base-variable-type-declaration">Base variable type declaration</a></li>
  <li><a href="#dimensionality-declaration" id="toc-dimensionality-declaration" class="nav-link" data-scroll-target="#dimensionality-declaration">Dimensionality declaration</a></li>
  <li><a href="#dimensionality-checks-and-exceptions" id="toc-dimensionality-checks-and-exceptions" class="nav-