|
| | DataEmpty () |
| | Default constructor for DataEmpty.
|
| |
| virtual | ~DataEmpty () |
| | Destructor for DataEmpty.
|
| |
| virtual std::string | toString () const |
| | Return a textual representation of the Data object.
|
| |
| virtual DataAbstract * | deepCopy () const |
| | Return a deep copy of the current object.
|
| |
| virtual DataAbstract * | zeroedCopy () const |
| | Return an object with the same type, domain (and tags if appropriate) as this, but all values are zeroed.
|
| |
| virtual DataTypes::RealVectorType::size_type | getPointOffset (int sampleNo, int dataPointNo) const |
| | Return the offset for the given sample. NB: This will throw an exception as obviously an empty Data object contains no samples. An implementation is required by parent DataAbstract class.
|
| |
| virtual DataTypes::RealVectorType::size_type | getPointOffset (int sampleNo, int dataPointNo) |
| |
| virtual DataTypes::RealVectorType::size_type | getLength () const |
| | Return the number of doubles stored for the Data object. As this is an empty Data object, this method will always return 0.
|
| |
| virtual DataAbstract * | getSlice (const DataTypes::RegionType ®ion) const |
| | Factory method that returns a newly created DataEmpty sliced from the current Data object according to the specified region. NB: This will throw an exception as obviously an empty Data object contains no data to slice from. An implementation is required by parent DataAbstract class.
|
| |
| virtual void | setSlice (const DataAbstract *value, const DataTypes::RegionType ®ion) |
| | Set the current Data object according to the specified slice from the given input value. NB: This will throw an exception as obviously an empty Data object contains no data to slice to. An implementation is required by parent DataAbstract class.
|
| |
| int | matrixInverse (DataAbstract *out) const |
| | invert square matricies
|
| |
| void | dump (const std::string fileName) const |
| | dumps the object into a netCDF file
|
| |
| bool | hasNaN () const |
| | return true if data contains NaN.
|
| |
| void | replaceNaN (DataTypes::real_t value) |
| | replaces all NaN values with value
|
| |
| void | replaceNaN (DataTypes::cplx_t value) |
| | replaces all NaN values with value
|
| |
| bool | hasInf () const |
| | Return true if data contains Inf or -Inf.
|
| |
| void | replaceInf (DataTypes::real_t value) |
| | replaces all (+/-)Inf values with value
|
| |
| void | replaceInf (DataTypes::cplx_t value) |
| | replaces all (+/-)Inf values with value
|
| |
| | DataReady (const FunctionSpace &what, const ShapeType &shape, bool isDataEmpty=false) |
| |
| | ~DataReady () |
| |
| DataTypes::real_t * | getSampleDataRW (DataTypes::RealVectorType::size_type sampleNo, DataTypes::real_t dummy=0) |
| | Return the sample data for the given sample number.
|
| |
| DataTypes::cplx_t * | getSampleDataRW (DataTypes::RealVectorType::size_type sampleNo, DataTypes::cplx_t dummy) |
| |
| const DataTypes::real_t * | getSampleDataRO (DataTypes::RealVectorType::size_type sampleNo, DataTypes::real_t dummy=0) const |
| |
| const DataTypes::cplx_t * | getSampleDataRO (DataTypes::RealVectorType::size_type sampleNo, DataTypes::cplx_t dummy) const |
| |
| DataTypes::RealVectorType::const_reference | getDataAtOffsetRO (DataTypes::RealVectorType::size_type i) const |
| | get a reference to the beginning of a data point
|
| |
| DataTypes::RealVectorType::reference | getDataAtOffsetRW (DataTypes::RealVectorType::size_type i) |
| |
| DataTypes::CplxVectorType::const_reference | getDataAtOffsetROC (DataTypes::CplxVectorType::size_type i) const |
| |
| DataTypes::CplxVectorType::reference | getDataAtOffsetRWC (DataTypes::CplxVectorType::size_type i) |
| |
| DataReady_ptr | resolve () |
| | Return a data object with all points resolved.
|
| |
| DataAbstract_ptr | getPtr () |
| | Return shared pointer managing this object.
|
| |
| const_DataAbstract_ptr | getPtr () const |
| |
| | DataAbstract (const FunctionSpace &what, const ShapeType &shape, bool isDataEmpty=false, bool isCplx=false) |
| | Constructor for DataAbstract.
|
| |
| virtual | ~DataAbstract () |
| | Destructor for DataAbstract.
|
| |
| int | getNumDPPSample () const |
| | Return the number of data points per sample.
|
| |
| int | getNumSamples () const |
| | Return the number of samples.
|
| |
| bool | hasNoSamples () const |
| |
| const DataTypes::ShapeType & | getShape () const |
| | Return the shape information for the point data.
|
| |
| unsigned int | getRank () const |
| | Return the rank information for the point data.
|
| |
| virtual DataTypes::real_t * | getSampleDataByTag (int tag, DataTypes::real_t dummy=0) |
| | Return the real sample data for the given tag key. NB: If the data isn't tagged an exception will be thrown.
|
| |
| virtual DataTypes::cplx_t * | getSampleDataByTag (int tag, DataTypes::cplx_t dummy) |
| | Return the complex sample data for the given tag key. NB: If the data isn't tagged an exception will be thrown.
|
| |
| virtual size_t | getTagCount () const |
| | Return number of tagged values stored in the data object.
|
| |
| void | operandCheck (const DataAbstract &right) const |
| | Check this and the given RHS operands are compatible. Throws an exception if they aren't.
|
| |
| bool | validSamplePointNo (int samplePointNo) const |
| | Return true if a valid sample point number.
|
| |
| bool | validSampleNo (int sampleNo) const |
| | Return true if a valid sample number.
|
| |
| const FunctionSpace & | getFunctionSpace () const |
| | Return the function space associated with this Data object.
|
| |
| virtual void | setTaggedValue (int tagKey, const DataTypes::ShapeType &pointshape, const DataTypes::RealVectorType &value, int dataOffset=0) |
| | setTaggedValue
|
| |
| virtual void | setTaggedValue (int tagKey, const DataTypes::ShapeType &pointshape, const DataTypes::CplxVectorType &value, int dataOffset=0) |
| |
| virtual void | copyToDataPoint (const int sampleNo, const int dataPointNo, const DataTypes::real_t value) |
| | Copy a double value to the data point dataPointNo of sample sampleNo in this object.
|
| |
| virtual void | copyToDataPoint (const int sampleNo, const int dataPointNo, const DataTypes::cplx_t value) |
| |
| virtual void | copyToDataPoint (const int sampleNo, const int dataPointNo, const WrappedArray &value) |
| | Copy the array object to the data point dataPointNo of sample sampleNo in this object.
|
| |
| virtual int | getTagNumber (int dpno) |
| | Return the tag number associated with the given data-point number.
|
| |
| virtual void | symmetric (DataAbstract *ev) |
| | Computes a symmetric matrix (A + AT) / 2.
|
| |
| virtual void | antisymmetric (DataAbstract *ev) |
| | Computes a antisymmetric matrix (A - AT) / 2.
|
| |
| virtual void | hermitian (DataAbstract *ev) |
| | Computes a symmetric matrix (A + A*) / 2.
|
| |
| virtual void | antihermitian (DataAbstract *ev) |
| | Computes a antisymmetric matrix (A - A*) / 2.
|
| |
| virtual void | trace (DataAbstract *ev, int axis_offset) |
| | Computes the trace of a matrix.
|
| |
| virtual void | transpose (DataAbstract *ev, int axis_offset) |
| | Transpose each data point of this Data object around the given axis.
|
| |
| virtual void | swapaxes (DataAbstract *ev, int axis0, int axis1) |
| | swaps components axis0 and axis1
|
| |
| virtual void | eigenvalues (DataAbstract *ev) |
| | solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
|
| |
| virtual void | setToZero () |
| | sets values to zero
|
| |
| virtual void | eigenvalues_and_eigenvectors (DataAbstract *ev, DataAbstract *V, const double tol=1.e-13) |
| | solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
|
| |
| virtual void | reorderByReferenceIDs (DataTypes::dim_t *reference_ids) |
| | reorders data sample ordered by reference_ids to the ordering of the functions space
|
| |
| unsigned int | getNoValues () const |
| | Return the number of values in the shape for this object.
|
| |
| bool | isLazy () const |
| |
| virtual bool | isConstant () const |
| |
| virtual bool | isExpanded () const |
| |
| virtual bool | actsExpanded () const |
| | Return true if this Data is expanded or resolves to expanded. That is, if it has a separate value for each datapoint in the sample.
|
| |
| virtual bool | isTagged () const |
| |
| bool | isEmpty () const |
| |
| bool | isComplex () const |
| | true if the components of datapoints are complex
|
| |
| virtual void | complicate () |
| |
Implements the DataAbstract interface for an empty Data object.
Description: Implements the DataAbstract interface for an empty Data object.