transforms
ptwm_core::transforms::spherical_normalize
SphericalNormalize — per-row (radius, direction) reparameterization with an exact XOR residual. Lossless by construction (the inverse reconstructs the prediction from the stored radius/direction and XORs the residual back, so float-op inaccuracy only affects residual size, never correctness).
ptwm_core::transforms::spherical_normalize
SphericalNormalize — per-row (radius, direction) reparameterization with an exact XOR residual. Lossless by construction (the inverse reconstructs the prediction from the stored radius/direction and XORs the residual back, so float-op inaccuracy only affects residual size, never correctness).
ptwm_core::transforms::spherical_normalize
crates/ptwm-core/src/transforms/spherical_normalize.rs:1mod spherical_normalize`SphericalNormalize` — per-row (radius, direction) reparameterization with an exact XOR residual. Lossless by construction (the inverse reconstructs the prediction from the stored radius/direction and XORs the residual back, so float-op inaccuracy only affects residual size, never correctness).
ptwm_core::transforms::spherical_normalize::read_spherical_normalize_params
crates/ptwm-core/src/transforms/spherical_normalize.rs:239pub fn read_spherical_normalize_params(params: &[u8]) -> Result<(SphericalNormalize, usize), PtwmCoreError>Parse the 3 param bytes written by `write_params`.
ptwm_core::transforms::spherical_normalize::SphericalNormalize
crates/ptwm-core/src/transforms/spherical_normalize.rs:180pub struct SphericalNormalizePer-row spherical/unit-vector reparameterization with exact XOR residual.