ufv_frame_widths ================ .. py:function:: t3toolbox.backend.ufv_masking.ufv_frame_widths(N, n, r) .. code-block:: python def ufv_frame_widths( N: int, # the point's padded mode size n: int, # its padded Tucker width r: int, # its padded TT width ) -> typ.Tuple[ int, # WD = min(n, N) int, # WU = min(n, N, r*r) int, # WL = r int, # WR = r ]: The padded widths ``(nD, nU, rL, rR)`` of the frame ``ut3_orthogonal_representations`` gives a point padded to ``(N, n, r)``. .. rubric:: Examples >>> import t3toolbox.backend.ufv_masking as ufv_masking >>> ufv_masking.ufv_frame_widths(8, 5, 3) (5, 5, 3, 3) >>> ufv_masking.ufv_frame_widths(4, 6, 2) # the Tucker width capped by N, the up width by r*r (4, 4, 2, 2)