Function firstNComponents
Computes the first N principal components of the matrix. More efficient than calling firstComponent and removeComponent repeatedly because copying and transposing, if enabled, only happen once.
PrincipalComponent[] firstNComponents(Ror)
(
Ror data,
uint n,
PrinCompOptions opts = PrinCompOptions .init,
PrincipalComponent[] buf = null
);