protate: Rotate the src matrix to fit into the space of the dest matrix.
Description
The optimal rotation is computed according to the procruste methode.
Rotation is based on singular value decomposition (SVD).
No scaling and no centrering are done, before computing the SVD.
# NOT RUN {# Generates two random matrices of size 10 x 15m1 <- simulate_matrix(10, 15)
m2 <- simulate_matrix(10, 20)
# Rotates matrix m1 on m2mr <- protate(m1, m2)
# }