absoluteError method

double absoluteError(
  1. Matrix3 correct
)

Returns absolute error between this and correct

Implementation

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