Trait LDATraitConst

Source
pub trait LDATraitConst {
    // Required method
    fn as_raw_LDA(&self) -> *const c_void;

    // Provided methods
    fn save(&self, filename: &str) -> Result<()> { ... }
    fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
    fn eigenvectors(&self) -> Result<Mat> { ... }
    fn eigenvalues(&self) -> Result<Mat> { ... }
}
Expand description

Constant methods for core::LDA

Required Methods§

Provided Methods§

Source

fn save(&self, filename: &str) -> Result<()>

Serializes this object to a given filename.

Source

fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Serializes this object to a given cv::FileStorage.

Source

fn eigenvectors(&self) -> Result<Mat>

Returns the eigenvectors of this LDA.

Source

fn eigenvalues(&self) -> Result<Mat>

Returns the eigenvalues of this LDA.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§