Skip to main content

Module state

Module state 

Source
Expand description

Typestate markers for super::Pca.

Unfitted and Fitted are declared here rather than at pca top level to avoid stuttering inside Pca<Unfitted> / Pca<Fitted> and to keep them out of the crate root, where nothing outside this crate needs to name them — callers rely on type inference from Pca::new(k).fit(..).

Structs§

Fitted
Fitted state: holds the basis produced by super::Pca::fit.
Unfitted
Unfitted state: holds only the requested component count.