pub fn condition_number(j: &M2) -> f64Expand description
The 2-norm condition number of a 2 x 2 matrix: the square root of the larger over the smaller eigenvalue of J^T J, m +- sqrt(((a - c) / 2)^2 + b^2) with m = (a + c) / 2 for J^T J = [[a, b], [b, c]].