T3Variations.allclose#
- t3toolbox.frame_variations_format.T3Variations.allclose(other, rtol=1e-09, atol=0.0)#
def allclose(self, other: 'T3Variations', rtol: float = 1e-9, atol: float = 0.0) -> NDArray: # bool array, stack
True(per stack element) ifotherholds the same variations asself, corewise.Checks
||self - other|| <= atol + rtol * ||other||in the stack-vectorized corewise norm (t3toolbox.corewise.corewise_stack_norm()), one verdict per stack slice (reduce with.all()for a single bool). Split-agnostic, like allT3Variationsoperations.- Parameters:
other (T3Variations)
rtol (float)
atol (float)
- Return type: