TuckerTensorTrain.is_right_orthogonal#
- t3toolbox.tucker_tensor_train.TuckerTensorTrain.is_right_orthogonal(atol=1e-09)#
def is_right_orthogonal(self, atol: float = 1e-9) -> NDArray: # bool array, shape = stack_shape (scalar unstacked)
True (per stack element) if this T3 is in right-orthogonal form: every Tucker core down-orthogonal and every TT core except the first right-orthogonal (the first TT core is the center remainder).
Non-enforcing convenience checker (see
is_left_orthogonal()). The result ofrank_adjustment_sweep('right_to_left')is right-orthogonal. Use this to verify before assertingt3svd(..., assume_orthogonal=True), which is not checked. Per-stack-element bool array (scalar when unstacked); reduce with.all().- Parameters:
atol (float)
- Return type: