absoluteError method

double absoluteError(
  1. Matrix4 correct
)

Returns absolute error between this and correct

Implementation

double absoluteError(Matrix4 correct) {
  final this_norm = infinityNorm();
  final correct_norm = correct.infinityNorm();
  final diff_norm = (this_norm - correct_norm).abs();
  return diff_norm;
}