Tue 19 Nov, 2013 08:01 am
What is the algorithm to find determinant using a C program and what is the time complexity of this algorithm.
@Kathleenortan,
double i, j, k;
double l,m, n;
double p, q, r;
double detValue;
'Enter all variables...
detValue = i*(m*r - n*q) - j*(l*r - n*q) + k*(l*q - m*p);
'Output detValue...
@tomr,
correction
detValue = i*(m*r - n*q) - j*(l*r - n*p) + k*(l*q - m*p);
Rap