Function firstComponent
Uses expectation-maximization to compute the first principal component of mat. Since there are a lot of options, they are controlled by a PrinCompOptions struct. (See above. PrinCompOptions.init contains the default values.) To have the results returned in a pre-allocated space, pass an explicit value for buf.
PrincipalComponent firstComponent(Ror)
(
Ror data,
PrinCompOptions opts = PrinCompOptions .init,
PrincipalComponent buf = PrincipalComponent .init
);