pack_sample#
- t3toolbox.backend.uniform_fitting.pack_sample(name, sample, N)#
def pack_sample(name, sample, N):
Pack the loop-invariant mode-vectors of
sampleonce (mirror-tolerant: packed input is kept).A boundary helper (the uniform kinds run on packed vectors of width
N): dispatchespack_if_ragged()per sampling-kind (wwfor apply/probe, bothww/ppfor the derivative kinds; the integerindexis never packed). Used byuniform_least_squares_problem()and the frontendt3toolbox.fittinguniform models.