absoluteError method

double absoluteError(
  1. Matrix4 correct
)

Returns absolute error between this and correct

Implementation

double absoluteError(Matrix4 correct) {
  final double thisNorm = infinityNorm();
  final double correctNorm = correct.infinityNorm();
  final double diffNorm = (thisNorm - correctNorm).abs();
  return diffNorm;
}