Starting from:

$20

Determinant of a matrix Solution

Problem 3.2.6. See handout. As per the problem, write a program to compute the determinant of a matrix. ( If you refer to a Linear Algebra text, you may find the minors are called co-factors.) It should read a matrix, print it out, compute and print the determinant. Your program should be able to evaluate multiple matrices on a single execution. For class purposes your program should handle matrices upto and including those of order 6. In a real application the sizes could, of course, be much larger. Use of recursion is okay but not mandatory. Use some form of linked list structure to store the matrix. You may use double, single, circular or multilinked lists with or without headers. Please give this careful consideration. In justifying your choice of data structures please consider real world constaints. Justify your choice of recursion or iteration. Be sure to compare your results to what you observed in Lab 2. As a minimum use the following 8 matrices to test your program. Use the same required input and the same input format as Lab 2.

More products