1.4.1
CCC
 
PPMT Class Reference

#include <PPMT.hpp>

Inheritance diagram for PPMT:
AStringable ICloneable

Public Member Functions

 PPMT (int ndir=50, bool flagPreprocessing=false, const EDirGen &methodDir=EDirGen::fromKey("VDC"), const EGaussInv &methodTrans=EGaussInv::fromKey("EMP"), int nbpoly=30, double alpha=2.)
 
 PPMT (const PPMT &m)
 
PPMToperator= (const PPMT &m)
 
virtual ~PPMT ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
int getNiter () const
 
double getAlpha () const
 
int getNdir () const
 
int getNdim () const
 
int getNbpoly () const
 
bool isFitted () const
 
const EDirGen & getMethodDir () const
 
const EGaussInv & getMethodTrans () const
 
VectorDouble getSerieAngle () const
 
VectorDouble getSerieScore (bool flagLog=false) const
 
int fit (Db *db, const VectorString &names, bool flagStoreInDb=false, int niter=100, bool verbose=false, const NamingConvention &namconv=NamingConvention("Y"))
 
int fitFromMatrix (AMatrix *Y, int niter, bool verbose=false)
 
int rawToGaussian (Db *db, const VectorString &names, int niter=0, const NamingConvention &namconv=NamingConvention("Y"))
 
int gaussianToRaw (Db *db, const VectorString &names, int niter=0, const NamingConvention &namconv=NamingConvention("Z"))
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Static Public Member Functions

static PPMTcreate (int ndir=50, bool flagPreprocessing=false, const EDirGen &methodDir=EDirGen::fromKey("VDC"), const EGaussInv &methodTrans=EGaussInv::fromKey("EMP"), int nbpoly=30, double alpha=2.)
 ICloneable Interface. More...
 

Constructor & Destructor Documentation

◆ PPMT() [1/2]

PPMT::PPMT ( int  ndir = 50,
bool  flagPreprocessing = false,
const EDirGen &  methodDir = EDirGen::fromKey("VDC"),
const EGaussInv &  methodTrans = EGaussInv::fromKey("EMP"),
int  nbpoly = 30,
double  alpha = 2. 
)

◆ PPMT() [2/2]

PPMT::PPMT ( const PPMT m)

◆ ~PPMT()

PPMT::~PPMT ( )
virtual

Member Function Documentation

◆ create()

PPMT * PPMT::create ( int  ndir = 50,
bool  flagPreprocessing = false,
const EDirGen &  methodDir = EDirGen::fromKey("VDC"),
const EGaussInv &  methodTrans = EGaussInv::fromKey("EMP"),
int  nbpoly = 30,
double  alpha = 2. 
)
static

ICloneable Interface.

Create the Multivariate Gaussian anamorphosis

Parameters
ndirNumber of Directions to be tested at each iteration
flagPreprocessingTrue for pre-processing (Normal Score and Sphering)
methodDirMethod for Direction Generation
methodTransMethod for Gaussian Transformation
nbpolyNumber of Polynomial (only used for "hermite" transformation)
alphaDistance exponent
Returns
An instance of PPMT class

◆ fit()

int PPMT::fit ( Db db,
const VectorString names,
bool  flagStoreInDb = false,
int  niter = 100,
bool  verbose = false,
const NamingConvention namconv = NamingConvention("Y") 
)

◆ fitFromMatrix()

int PPMT::fitFromMatrix ( AMatrix Y,
int  niter,
bool  verbose = false 
)

◆ gaussianToRaw()

int PPMT::gaussianToRaw ( Db db,
const VectorString names,
int  niter = 0,
const NamingConvention namconv = NamingConvention("Z") 
)

◆ getAlpha()

double PPMT::getAlpha ( ) const
inline

◆ getMethodDir()

const EDirGen& PPMT::getMethodDir ( ) const
inline

◆ getMethodTrans()

const EGaussInv& PPMT::getMethodTrans ( ) const
inline

◆ getNbpoly()

int PPMT::getNbpoly ( ) const
inline

◆ getNdim()

int PPMT::getNdim ( ) const
inline

◆ getNdir()

int PPMT::getNdir ( ) const
inline

◆ getNiter()

int PPMT::getNiter ( ) const
inline

◆ getSerieAngle()

VectorDouble PPMT::getSerieAngle ( ) const
inline

◆ getSerieScore()

VectorDouble PPMT::getSerieScore ( bool  flagLog = false) const

◆ isFitted()

bool PPMT::isFitted ( ) const
inline

◆ operator=()

PPMT & PPMT::operator= ( const PPMT m)

◆ rawToGaussian()

int PPMT::rawToGaussian ( Db db,
const VectorString names,
int  niter = 0,
const NamingConvention namconv = NamingConvention("Y") 
)

◆ toString()

String PPMT::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.


The documentation for this class was generated from the following files: