1.1.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 &ifqcs) 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 &z) 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::AnamContinuous ( )
AnamContinuous::AnamContinuous ( const AnamContinuous m)
AnamContinuous::~AnamContinuous ( )
virtual

Member Function Documentation

void AnamContinuous::calculateMeanAndVariance ( )
virtual

Interface for AnamContinuous.

Reimplemented in AnamEmpirical, AnamHermite, and AnamUser.

VectorDouble AnamContinuous::gaussianToRawVector ( const VectorDouble y) const
double AnamContinuous::getAymax ( ) const
inline
double AnamContinuous::getAymin ( ) const
inline
double AnamContinuous::getAzmax ( ) const
inline
double AnamContinuous::getAzmin ( ) const
inline
double AnamContinuous::getMean ( ) const
inline
double AnamContinuous::getPymax ( ) const
inline
double AnamContinuous::getPymin ( ) const
inline
double AnamContinuous::getPzmax ( ) const
inline
double AnamContinuous::getPzmin ( ) const
inline
virtual double AnamContinuous::getVariance ( ) const
inlineoverridevirtual

Reimplemented from AAnam.

bool AnamContinuous::hasGaussian ( ) const
inlineoverridevirtual

AAnam interface.

Reimplemented from AAnam.

AnamContinuous & AnamContinuous::operator= ( const AnamContinuous m)
VectorDouble AnamContinuous::rawToGaussianVector ( const VectorDouble z) const
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
void AnamContinuous::setABounds ( double  azmin = TEST,
double  azmax = TEST,
double  aymin = TEST,
double  aymax = TEST 
)
void AnamContinuous::setAymax ( double  aymax)
inline
void AnamContinuous::setAymin ( double  aymin)
inline
void AnamContinuous::setAzmax ( double  azmax)
inline
void AnamContinuous::setAzmin ( double  azmin)
inline
void AnamContinuous::setMean ( double  mean)
inline
void AnamContinuous::setPBounds ( double  pzmin = TEST,
double  pzmax = TEST,
double  pymin = TEST,
double  pymax = TEST 
)
void AnamContinuous::setPymax ( double  pymax)
inline
void AnamContinuous::setPymin ( double  pymin)
inline
void AnamContinuous::setPzmax ( double  pzmax)
inline
void AnamContinuous::setPzmin ( double  pzmin)
inline
void AnamContinuous::setVariance ( double  variance)
inline
String AnamContinuous::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.

Reimplemented in AnamHermite, AnamUser, and AnamEmpirical.


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