ut3_linalg#
Linear algebra on uniform supercores (dense-tensor semantics) with mask bookkeeping.
ut3_scale/ut3_add/ut3_sum_stack/ut3_inner_product/ut3_norm_orthogonalized, plus the
weighted-layer ut3_weighted_norm/ut3_weighted_inner (uniform twins of t3_weighted_norm/
t3_weighted_inner). Output masks follow the rank recurrences (add = mask concatenation) on the host
(np), while the supercores flow through xnp (docs/uniform_masks_vs_ranks.md).
Functions#
|
Scale a uniform Tucker tensor train by a scalar (scales the last Tucker supercore slice; shape and |
|
Add two uniform Tucker tensor trains (direct sum): concatenate Tucker supercores along the rank |
Sum the represented dense tensors over the whole stack (the genuine tensor sum, not a corewise |
|
|
Hilbert-Schmidt inner product of two uniform Tucker tensor trains. Masks (zero padding) and |
Hilbert-Schmidt norm of an already-left-orthogonalized uniform T3 (the frontend left-orthogonalizes |
|
|
Weighted Hilbert-Schmidt norm of a uniform Tucker tensor train -- the norm of the fully-weighted |
|
Weighted Hilbert-Schmidt inner product |