Repeat det_by_minor Routine A Specified Number of Times
Keywords: repeat det_by_minor routine specified number times syntax size source code

| Prev | Next |  |  |  |  |  | repeat_det_by_minor_c |

Repeat det_by_minor Routine A Specified Number of Times
Syntax
`repeat_det_by_minor(repeat, size)`
repeat
The argument has prototype `
size_t repeat
` It specifies the number of times to repeat the calculation.
size
The argument has prototype `
size_t size
` It specifies the number of rows (and columns) in the square matrix we are computing the determinant of.
Source Code `

    void repeat_det_by_minor(size_t repeat, size_t size)
    {    double *a;
         a = (double*) malloc( (size * size) * sizeof(double) );

         while(repeat--)
         {    uniform_01(size * size, a);
              det_by_minor(a, size);
         }

         free(a);
         return;
    }

`

Input File: compare_c/det_by_minor.c