A.9. Trace and Determinant

For a square matrix, functions TRACE and DET will perform the respective tasks of finding the trace and the determinant. For A defined earlier, the statements

trace_a = trace(a);
det_a = det(a);
print trace_a, det_a;

result in tr(A) = 5 and det(A) = −23.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.11.98