pub struct ProcrustesTransform {
pub rotation: Vec<Vec<f64>>,
pub scale: f64,
pub source_mean: Vec<f64>,
pub target_mean: Vec<f64>,
pub dim: usize,
pub error: f64,
}Expand description
A fitted Procrustes transformation.
Fields§
§rotation: Vec<Vec<f64>>Rotation matrix (D × D), stored row-major.
scale: f64Scale factor.
source_mean: Vec<f64>Source centroid (subtracted before rotation).
target_mean: Vec<f64>Target centroid (added after rotation).
dim: usizeDimensionality.
error: f64Alignment error (Frobenius norm of residual).
Implementations§
Trait Implementations§
Source§impl Clone for ProcrustesTransform
impl Clone for ProcrustesTransform
Source§fn clone(&self) -> ProcrustesTransform
fn clone(&self) -> ProcrustesTransform
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcrustesTransform
impl RefUnwindSafe for ProcrustesTransform
impl Send for ProcrustesTransform
impl Sync for ProcrustesTransform
impl Unpin for ProcrustesTransform
impl UnwindSafe for ProcrustesTransform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more