linalg#
Dense linear-algebra primitives shared by the orthogonalization and SVD sweeps.
truncated_svd, the directional left/right/up_svd and *_svd_pair factorizations
(directions match the core-unfolding conventions), pad_safe_svd (the mask-aware SVD of a
zero-padded matrix – the uniform layer’s replacement for a black-box SVD), and
pad_or_truncate. Pure array-in, array-out helpers with no T3 semantics.
Functions#
|
Pad and/or truncate an array per axis, using signed |
|
Compute (truncated) singular value decomposition of matrix A. |
|
Compute (truncated) singular value decomposition of 3-tensor left unfolding. |
|
Compute (truncated) singular value decomposition of 3-tensor right unfolding. |
|
Compute (truncated) singular value decomposition of 3-tensor up unfolding. |
|
Compute (truncated) singular value decomposition of G0, pushing non-orthogonal remainder onto G1. |
|
Compute (truncated) singular value decomposition of G1, pushing non-orthogonal remainder onto G0. |
|
Compute (truncated) singular value decomposition of G, pushing non-orthogonal remainder onto B. |
|
Compute (truncated) singular value decomposition of B, pushing non-orthogonal remainder onto G. |
|
SVD of a zero-padded matrix whose null-space vectors are forced OFF the padding. |