void svd_rotate_xy(ref float x, ref float y, float c, float s) { float u = x; float v = y; x = c * u - s * v; y = s * u + c * v; }