t3_linalg#
Linear algebra on ragged t3 data, defined w.r.t. the REPRESENTED dense tensor.
t3_add/t3_scale/t3_inner_product/t3_norm/t3_mult and the t3m_* forms
simulate operations on the dense tensor, using the cores only as a computational device (add
concatenates ranks; nothing here is corewise). t3_sum_stack is the rank-growing tensor sum
over a stack – not the rank-preserving corewise core sum.
Functions#
|
Add Tucker tensor trains x and y, yielding a Tucker tensor train with summed ranks. |
|
Sum the dense tensors represented by a stacked Tucker tensor train over stack axes. |
|
Multipy a Tucker tensor train by a scaling factor. |
|
Compute Hilbert-Schmidt inner product of two Tucker tensor trains. |
|
Compute Hilbert-Schmidt norm of a Tucker tensor train. |
|
Pointwise multiply Tucker tensor trains x and y, yielding a Tucker tensor train with multiplied ranks. |
|
Elementwise product |
|
Elementwise product |
|
Elementwise product |
|
Add a scalar to a Tucker tensor train: |
|
Weighted Hilbert-Schmidt norm of a Tucker tensor train: |
|
Weighted Hilbert-Schmidt inner product |