1.4.0
CCC
 
AnamContinuous Class Reference

#include <AnamContinuous.hpp>

Inheritance diagram for AnamContinuous:
AAnam AStringable ASerializable ICloneable AnamEmpirical AnamHermite AnamUser

Public Member Functions

 AnamContinuous ()
 
 AnamContinuous (const AnamContinuous &m)
 
AnamContinuousoperator= (const AnamContinuous &m)
 
virtual ~AnamContinuous ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
bool hasGaussian () const override
 AAnam interface. More...
 
virtual void calculateMeanAndVariance ()
 Interface for AnamContinuous. More...
 
virtual double getVariance () const override
 
void setABounds (double azmin=TEST, double azmax=TEST, double aymin=TEST, double aymax=TEST)
 
void setPBounds (double pzmin=TEST, double pzmax=TEST, double pymin=TEST, double pymax=TEST)
 
VectorDouble rawToGaussianVector (const VectorDouble &z) const
 
VectorDouble gaussianToRawVector (const VectorDouble &y) const
 
AnamContinuousFit sample (int ndisc=100, double aymin=-10, double aymax=+10)
 
double getMean () const
 
double getAymax () const
 
double getAymin () const
 
double getAzmax () const
 
double getAzmin () const
 
double getPymax () const
 
double getPymin () const
 
double getPzmax () const
 
double getPzmin () const
 
void setAzmin (double azmin)
 
void setAzmax (double azmax)
 
void setAymin (double aymin)
 
void setAymax (double aymax)
 
void setPzmin (double pzmin)
 
void setPzmax (double pzmax)
 
void setPymin (double pymin)
 
void setPymax (double pymax)
 
void setMean (double mean)
 
void setVariance (double variance)
 
- Public Member Functions inherited from AAnam
 AAnam ()
 
 AAnam (const AAnam &m)
 
AAnamoperator= (const AAnam &m)
 
virtual ~AAnam ()
 
virtual const EAnam & getType () const =0
 Interface for AAnam. More...
 
virtual bool hasFactor () const
 
virtual int getNFactor () const
 
virtual int getNClass () const
 
virtual bool isChangeSupportDefined () const =0
 
virtual VectorDouble z2factor (double z, const VectorInt &ifacs) const
 
virtual double computeVariance (double sval) const
 
virtual int updatePointToBlock (double r_coef)
 
virtual bool allowChangeSupport () const
 
virtual double rawToTransformValue (double z) const
 
virtual double transformToRawValue (double y) const
 
virtual int fitFromArray (const VectorDouble &tab, const VectorDouble &wt=VectorDouble())
 
double invertVariance (double cvv) const
 
VectorDouble rawToTransformVec (const VectorDouble &z) const
 
VectorDouble transformToRawVec (const VectorDouble &y) const
 
int fitFromLocator (Db *db, const ELoc &locatorType=ELoc::fromKey("Z"))
 
int fit (Db *db, const String &name)
 
int rawToGaussianByLocator (Db *db, const NamingConvention &namconv=NamingConvention("Y"))
 
int rawToGaussian (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Y"))
 
int normalScore (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Gaussian"))
 
int gaussianToRawByLocator (Db *db, const NamingConvention &namconv=NamingConvention("Z"))
 
int gaussianToRaw (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Z"))
 
int rawToFactorByRanks (Db *db, const VectorInt &ifacs, const NamingConvention &namconv=NamingConvention("Factor"))
 
int rawToFactor (Db *db, int nfactor, const NamingConvention &namconv=NamingConvention("Factor"))
 
- 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 ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
virtual ~ASerializable ()
 
bool deserialize (std::istream &is, bool verbose=true)
 
bool serialize (std::ostream &os, bool verbose=true) const
 
bool dumpToNF (const String &neutralFilename, bool verbose=false) const
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from ASerializable
static String buildFileName (int status, const String &filename, bool ensureDirExist=false)
 
static String getHomeDirectory (const String &sub="")
 
static String getWorkingDirectory ()
 
static String getTestData (const String &subdir, const String &filename)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setContainerName (bool useDefault, const String &containerName="", bool verbose=false)
 
static void unsetContainerName ()
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const StringgetContainerName ()
 
static const StringgetPrefixName ()
 
static bool createDirectory (const String &dir)
 
static String getExecDirectory ()
 
static String getDirectory (const String &path)
 

Constructor & Destructor Documentation

◆ AnamContinuous() [1/2]

AnamContinuous::AnamContinuous ( )

◆ AnamContinuous() [2/2]

AnamContinuous::AnamContinuous ( const AnamContinuous m)

◆ ~AnamContinuous()

AnamContinuous::~AnamContinuous ( )
virtual

Member Function Documentation

◆ calculateMeanAndVariance()

void AnamContinuous::calculateMeanAndVariance ( )
virtual

Interface for AnamContinuous.

Reimplemented in AnamUser, AnamHermite, and AnamEmpirical.

◆ gaussianToRawVector()

VectorDouble AnamContinuous::gaussianToRawVector ( const VectorDouble y) const

◆ getAymax()

double AnamContinuous::getAymax ( ) const
inline

◆ getAymin()

double AnamContinuous::getAymin ( ) const
inline

◆ getAzmax()

double AnamContinuous::getAzmax ( ) const
inline

◆ getAzmin()

double AnamContinuous::getAzmin ( ) const
inline

◆ getMean()

double AnamContinuous::getMean ( ) const
inline

◆ getPymax()

double AnamContinuous::getPymax ( ) const
inline

◆ getPymin()

double AnamContinuous::getPymin ( ) const
inline

◆ getPzmax()

double AnamContinuous::getPzmax ( ) const
inline

◆ getPzmin()

double AnamContinuous::getPzmin ( ) const
inline

◆ getVariance()

virtual double AnamContinuous::getVariance ( ) const
inlineoverridevirtual

Reimplemented from AAnam.

◆ hasGaussian()

bool AnamContinuous::hasGaussian ( ) const
inlineoverridevirtual

AAnam interface.

Reimplemented from AAnam.

◆ operator=()

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

◆ rawToGaussianVector()

VectorDouble AnamContinuous::rawToGaussianVector ( const VectorDouble z) const

◆ sample()

AnamContinuousFit AnamContinuous::sample ( int  ndisc = 100,
double  aymin = -10,
double  aymax = +10 
)

Calculate Anamorphosis function for a set of Y-values

Parameters
ndiscNumber of discretization steps
ayminMinimum Y value
aymaxMaximum Y value
Returns
AnamContinuousFit structure

◆ setABounds()

void AnamContinuous::setABounds ( double  azmin = TEST,
double  azmax = TEST,
double  aymin = TEST,
double  aymax = TEST 
)

◆ setAymax()

void AnamContinuous::setAymax ( double  aymax)
inline

◆ setAymin()

void AnamContinuous::setAymin ( double  aymin)
inline

◆ setAzmax()

void AnamContinuous::setAzmax ( double  azmax)
inline

◆ setAzmin()

void AnamContinuous::setAzmin ( double  azmin)
inline

◆ setMean()

void AnamContinuous::setMean ( double  mean)
inline

◆ setPBounds()

void AnamContinuous::setPBounds ( double  pzmin = TEST,
double  pzmax = TEST,
double  pymin = TEST,
double  pymax = TEST 
)

◆ setPymax()

void AnamContinuous::setPymax ( double  pymax)
inline

◆ setPymin()

void AnamContinuous::setPymin ( double  pymin)
inline

◆ setPzmax()

void AnamContinuous::setPzmax ( double  pzmax)
inline

◆ setPzmin()

void AnamContinuous::setPzmin ( double  pzmin)
inline

◆ setVariance()

void AnamContinuous::setVariance ( double  variance)
inline

◆ toString()

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

AStringable Interface.

Reimplemented from AStringable.

Reimplemented in AnamUser, AnamHermite, and AnamEmpirical.


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