# relativeError method

- Matrix4 correct

Returns relative error between this and `correct`

## Implementation

```
double relativeError(Matrix4 correct) {
final diff = correct - this;
final correct_norm = correct.infinityNorm();
final diff_norm = diff.infinityNorm();
return diff_norm / correct_norm;
}
```