pub fn compute_itq_rotation(
x_combined: &[f32],
rows: usize,
dim: usize,
n_iter: usize,
seed: u64,
) -> Result<Vec<f32>>Expand description
Find orthogonal rotation R of shape (dim, dim) aligning X ((rows, dim))
to the binary hypercube: min_R || sign(X @ R) - X @ R ||_F^2.
Exact Rust port of LittleBitLinear._compute_itq_rotation.
ยงErrors
Returns an error if matrix dimensions are invalid or inner Procrustes SVD fails.