t3_add ====== .. py:function:: t3toolbox.backend.t3_linalg.t3_add(x, y) .. code-block:: python def t3_add( x: typ.Tuple[typ.Sequence[NDArray], typ.Sequence[NDArray]], # (tucker_cores_x, tt_cores_x) y: typ.Tuple[typ.Sequence[NDArray], typ.Sequence[NDArray]], # (tucker_cores_y, tt_cores_y) ) -> typ.Tuple[ typ.Tuple[NDArray, ...], # x_plus_y tucker_cores typ.Tuple[NDArray, ...], # x_plus_y tt_cores ]: Add Tucker tensor trains x and y, yielding a Tucker tensor train with summed ranks.