PTWM
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).

rsmod

ptwm_core::transforms::spherical_normalize

crates/ptwm-core/src/transforms/spherical_normalize.rs:1
mod 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).

rsfn

ptwm_core::transforms::spherical_normalize::read_spherical_normalize_params

crates/ptwm-core/src/transforms/spherical_normalize.rs:239
pub fn read_spherical_normalize_params(params: &[u8]) -> Result<(SphericalNormalize, usize), PtwmCoreError>

Parse the 3 param bytes written by `write_params`.

rstype

ptwm_core::transforms::spherical_normalize::SphericalNormalize

crates/ptwm-core/src/transforms/spherical_normalize.rs:180
pub struct SphericalNormalize

Per-row spherical/unit-vector reparameterization with exact XOR residual.