Prev | Next | repeat_det_by_minor_c |
repeat_det_by_minor(repeat, size)
size_t repeat
It specifies the number of times to repeat the calculation.
size_t size
It specifies the number of rows (and columns) in the square
matrix we are computing the determinant of.
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; }