Skip to main content

sh_eval_impl

Function sh_eval_impl 

Source
pub fn sh_eval_impl<V, const L: usize, const N: usize>(
    t: &ShTable<V, N>,
    x: V,
    y: V,
    z: V,
    out: &mut [V; N],
)
where V: FloatVector + CoreMath,
Expand description

Evaluates all harmonics through degree L from a table filled by sh_table_impl.

The rolled counterpart of sh_impl, for any L and any V. The phase convention comes from the table, so there is no CS parameter here.

Last built: 2026-09-08 21:35:55 UTC