has_fixedtrace: Check if the supplied sample(s) have fixed trace
Description
Compares the trace of all the supplied matrices to check that they are equal.
Usage
has_fixedtrace(x, tolerance = sqrt(.Machine$double.eps))
Arguments
- x
A sample or multiple samples of matrices suitable for as_flat().
- tolerance
Tolerance on the relative difference, passed to all.equal()