ut3_sampling#

Uniform plain-layer sampling wrappers: probe/apply/entries on ut3 data (+ transposes, jets).

Grouped by OBJECT type, deliberately asymmetric with the ragged by-sampling-type modules: each function here is a thin wrapper – mask once, pack, delegate to the shared polymorphic ragged machinery (the corewise transposes and the two-holes then re-mask their output) – so it lives with the object it wraps. The algorithm story is in probing/apply/entries/sampling_derivatives (docs/naming_conventions.md).

Functions#

ut3_entries(data, index)

Compute entries of a uniform Tucker tensor train (shares entries.t3_entries).

ut3_apply(data, vecs)

Contract a uniform Tucker tensor train with vectors in all modes (shares

ut3_probe(ww, data)

Probe a uniform Tucker tensor train (contract all-but-one mode, for each mode; shares

ut3_full_sum(data)

Sum the represented dense tensor over all physical modes: apply with all-ones vectors (the

ut3_apply_corewise_transpose(c, ww, data[, ...])

Corewise transpose of ut3_apply(): gradient w.r.t. the frame supercores. ww packed to N.

ut3_entries_corewise_transpose(c, index, data[, ...])

Corewise transpose of ut3_entries(): gradient w.r.t. the frame supercores (index unpacked --

ut3_probe_corewise_transpose(ztildes, ww, data[, ...])

Corewise transpose of ut3_probe(): gradient w.r.t. the frame supercores. ztildes and

ut3_probe_derivatives(ww, pp, data, order)

Symmetric probe derivatives of a uniform Tucker tensor train (shares

ut3_apply_derivatives(ww, pp, data, order)

Symmetric all-modes apply derivatives of a uniform Tucker tensor train (shares

ut3_entries_derivatives(index, pp, data, order)

Symmetric entry derivatives of a uniform Tucker tensor train at index (shares

ut3_apply_corewise_derivatives_transpose(c, ww, pp, ...)

Corewise transpose of ut3_apply_derivatives(): gradient w.r.t. the frame supercores. ww/pp packed to N.

ut3_entries_corewise_derivatives_transpose(c, index, ...)

Corewise transpose of ut3_entries_derivatives(): gradient w.r.t. the frame supercores

ut3_probe_corewise_derivatives_transpose(ztildes, ww, ...)

Corewise transpose of ut3_probe_derivatives(): gradient w.r.t. the frame supercores.

ut3_probe_corewise_derivatives_hessian(ztildes, ww, ...)

The uniform twin of t3_probe_corewise_derivatives_hessian():

ut3_probe_corewise_derivatives_hessian_from_sweep(...)

ut3_probe_corewise_derivatives_hessian() reusing a uniform jet sweep's packed sample and its

ut3_probe_corewise_hessian(ztildes, ww, data, ...)

The uniform twin of t3_probe_corewise_hessian(): the core-coordinate

ut3_probe_corewise_hessian_from_sweep(ztildes, data, ...)

ut3_probe_corewise_hessian() reusing a uniform sweep's packed vectors and its xi / mu -- the

ut3_apply_corewise_hessian(c, ww, data, core_directions)

The uniform twin of t3_apply_corewise_hessian() (theta and theta_hat

ut3_apply_corewise_hessian_from_sweep(c, data, ...)

ut3_apply_corewise_hessian() reusing a uniform apply sweep's packed vectors and lean (xi, mu)

ut3_entries_corewise_hessian(c, index, data, ...)

The uniform twin of t3_entries_corewise_hessian() (index unpacked -- the

ut3_entries_corewise_hessian_from_sweep(c, data, ...)

ut3_entries_corewise_hessian() reusing a uniform entries sweep's index and lean (fiber-sliced)

ut3_apply_corewise_derivatives_hessian(c, ww, pp, ...)

The uniform twin of

ut3_apply_corewise_derivatives_hessian_from_sweep(c, ...)

ut3_apply_corewise_derivatives_hessian() reusing a uniform apply jet sweep's packed ww / pp and

ut3_entries_corewise_derivatives_hessian(c, index, pp, ...)

The uniform twin of

ut3_entries_corewise_derivatives_hessian_from_sweep(c, ...)

ut3_entries_corewise_derivatives_hessian() reusing a uniform entries jet sweep's index, packed pp