lines 8-62 of file: cpp/include/cmpad/algo/det_by_minor.hpp {xrst_begin_parent cpp_det_by_minor} C++ Determinant Using Expansion by Minors ######################################### {xrst_template , cpp/include/cmpad/algo/template.xrst $algo_name$ , det_by_minor $obj_name$ , det $********$ , *** } ell *** see :ref:`det_by_minor@ell` . n_arg ***** see :ref:`det_by_minor@option@n_arg` . n_other ******* see :ref:`det_by_minor@option@n_other` . x * The argument *x* has size *n_arg* = :math:`\ell * \ell` . The elements of the matrix :math:`A(x)` is defined as follows: for :math:`i = 0 , \ldots , \ell-1` and :math:`j = 0 , \ldots , \ell-1`, by .. math:: A(x)_{i,j} = x[ i * \ell + j] y * The return value *y* has size :math:`m = 1` and its element is equal to the determinant of :math:`A(x)`. {xrst_toc_hidden after cpp/include/cmpad/algo/det_of_minor.hpp cpp/xam/det_by_minor.cpp } Example ******* The file :ref:`xam_det_by_minor.cpp-name` contains an example and test of ``det_by_minor`` . Source Code *********** :ref:`det_by_minor.hpp-name` displays the source code for this algorithm. {xrst_end cpp_det_by_minor}