absoluteError method

double absoluteError (Matrix4 correct)

Returns absolute error between this and correct

Implementation

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