class QucFunction1D : public CorPersistent a two dimensional array of assiciated values
| | checkUnitRange ( QucUnitType aUnit, double anotherValue ) |
| | getFirst () |
| | getLast () |
| | getMax () |
| | getMin () |
| | getName () |
| | getSize () |
| | getUnitX () |
| | getUnitY () |
| | getValueAt ( double anIndex, QucUnitType unitX = QucUNIT_LESS, QucUnitType unitY = QucUNIT_LESS, const RWCString& aMode = "Spline" ) |
| | getX ( int anIndex ) |
| | getXStart () |
| | getY ( int anIndex ) |
| | getYStart () |
| | getYStart () |
| | isSet ( int anIndex ) |
| | makeClone () |
| | operator= ( const QucFunction1D& aRef ) |
| | QucFunction1D ( const RWCString& aName = "myframe", int aSize = 1, QucUnitType unitX = QucUNIT_LESS, QucUnitType unitY = QucUNIT_LESS ) |
| | QucFunction1D ( const QucFunction1D& aRef ) |
| | readFile ( const RWCString& aFileName, const RWCString& aType = "table", const RWCString& aWave = ":WAVE", const RWCString& aFlux = ":FLUX" ) |
| | scale ( double aFactor ) |
| | scaleAt ( double anIndex, QucUnitType aUnit, double aFactor ) |
| | setInDir ( const RWCString& aDirectory ) |
| | setName ( const RWCString& aName ) |
| | setOutDir ( const RWCString& aDirectory ) |
| | setValue ( int anIndex, double aTuple1, double aTuple2 ) |
| | simpsonInt ( double aValue1, double aValue2, int anN = 100 ) |
| | stream ( CorStream& aStream ) |
| | trapezeInt ( double aValue1, double aValue2, int anN = 100 ) |
| | writeFile ( const RWCString& aFileName, const RWCString& aType = "Table", const RWCString& aWave = ":WAVE", const RWCString& aFlux = ":FLUX" ) |
| | ~QucFunction1D () |
| | getXStart () |
| | mName Purpose Set the minimum and maximum values of this instance |
| | convertUnit ( QucUnitType aUnitX, QucUnitType aUnitY ) |
| | setMinMax () |
| | setSize ( int aSize = 1, int aDelete = 1 ) |
a two dimensional array of assiciated values
SYNOPSIS
#include <QucFunction1D.h>
QucFunction1D myObject;
DESCRIPTION
This class serves as a container of an associative array. The values of
this array belong to certain units.
CAUTIONS
<optional>
EXAMPLES
<optional>
SEE ALSO
<optional>
CorBase
QucUnit
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Exceptions
QucFunction1D( const RWCString& aName = "myframe", int aSize = 1, QucUnitType unitX = QucUNIT_LESS, QucUnitType unitY = QucUNIT_LESS )
QucFunction1D( const QucFunction1D& aRef )
QucFunction1D& operator=( const QucFunction1D& aRef )
virtual ~QucFunction1D()
The d'tor.
void setValue( int anIndex, double aTuple1, double aTuple2 )
void setInDir( const RWCString& aDirectory )
void readFile( const RWCString& aFileName, const RWCString& aType = "table", const RWCString& aWave = ":WAVE", const RWCString& aFlux = ":FLUX" )
double getX( int anIndex )
double getY( int anIndex )
virtual double getValueAt( double anIndex, QucUnitType unitX = QucUNIT_LESS, QucUnitType unitY = QucUNIT_LESS, const RWCString& aMode = "Spline" )
void setName( const RWCString& aName )
RWCString getName()
Query the name of this instance.
This function returns the name of this instance.
QucUnitType getUnitX()
Query the unit of the first tuple.
This function returns the unit type of the first tuple.
QucUnitType getUnitY()
Query the unit of the second tuple.
This function returns the unit type of the second tuple.
int getSize()
Query the size of this instance.
This function returns the number of elements stored.
void setOutDir( const RWCString& aDirectory )
void writeFile( const RWCString& aFileName, const RWCString& aType = "Table", const RWCString& aWave = ":WAVE", const RWCString& aFlux = ":FLUX" )
double getMax()
Query the largest second tuple value.
This function returns the largest value held by the Y tuples.
double getMin()
Query the lowest second tuple value.
This function returns the lowest value held by the Y tuples.
double simpsonInt( double aValue1, double aValue2, int anN = 100 )
double trapezeInt( double aValue1, double aValue2, int anN = 100 )
void scale( double aFactor )
void scaleAt( double anIndex, QucUnitType aUnit, double aFactor )
double getFirst()
Query the first Y value of this instance.
This function returns the value of the first Y tuple.
double getLast()
Query the last Y value of this instance.
This function returns the value of the last Y tuple.
virtual void stream( CorStream& aStream )
virtual CorPersistent* makeClone()
Make a clone of this instance.
This function retutns a pointer to a newly created instance that has the same
properties as this one.
CorBool isSet( int anIndex )
double* getXStart()
Query the address of the first X value.
This function returns the address of the first X value.
double* getYStart()
Query the address of the first Y value.
This function returns the address of the first Y value.
const double* getXStart()
Query the address of the first X value.
This function returns the address of the first X value.
const double* getYStart()
Query the address of the first Y value.
This function returns the address of the first Y value.
void checkUnitRange( QucUnitType aUnit, double anotherValue )
void convertUnit( QucUnitType aUnitX, QucUnitType aUnitY )
void setSize( int aSize = 1, int aDelete = 1 )
void setMinMax()
RWCString mName
Set the minimum and maximum values of this instance.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de