is defined
is necessary so that the embedded use of <code>matrix_pow</code> is
well-defined when it is encountered. It would be more efficient to
not allow the recursion to go all the way to the base case, adding the
following conditional clause.</p>
<pre><code>else if (n == 1)
  return a;</code></pre>
</div>
            </section>

          </div>
        </div>
      </div>
<a href="summary-of-function-types.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left">