pub fn mirror_segments_to_full_domain<T>(half: &[T]) -> Vec<T>where
T: CustomNumeric,Expand description
Mirror half-domain segment boundaries onto the full domain
Maps [0, s_1, ..., s_n] to [-s_n, ..., -s_1, -0, s_1, ..., s_n].
This is the knot layout of the singular functions of a centrosymmetric
SVE, so a full-domain discretization built from these segments uses the
mirror images of the half-domain segments. A kernel’s full-domain
SVEHints can be built from half-domain ones
with it.
The input must start at zero, as half_domain_segments returns it.