sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
sgs::pca::PCAResult< T >

#include <pca.h>

Public Attributes

std::vector< std::vector< T > > eigenvectors
std::vector< T > eigenvalues
std::vector< double > means
std::vector< double > stdevs

Detailed Description

template<typename T>
struct sgs::pca::PCAResult< T >

This struct contains the output eigenvectors and eigenvalues for the principal components. It also contains the mean and standard deviation for each raster band.

The mean and standard deviation are used when writing the outputs to both center and scale each band. The eigenvectors are then used when calculating the output principal component values.

Member Data Documentation

◆ eigenvalues

template<typename T>
std::vector<T> sgs::pca::PCAResult< T >::eigenvalues

◆ eigenvectors

template<typename T>
std::vector<std::vector<T> > sgs::pca::PCAResult< T >::eigenvectors

◆ means

template<typename T>
std::vector<double> sgs::pca::PCAResult< T >::means

◆ stdevs

template<typename T>
std::vector<double> sgs::pca::PCAResult< T >::stdevs

The documentation for this struct was generated from the following file:
  • sgspy/calculate/pca/pca.h