casa
5.7.0-16
|
Non-templated base class for templated Array class. More...
#include <ArrayBase.h>
Public Member Functions | |
ArrayBase () | |
ArrayBase (const IPosition &shape) | |
Create an array of the given shape, i.e. More... | |
ArrayBase (const ArrayBase &other) | |
Copy constructor. More... | |
ArrayBase & | operator= (const ArrayBase &) |
Assignment. More... | |
virtual | ~ArrayBase () |
Destructor. More... | |
uInt | ndim () const |
The dimensionality of this array. More... | |
size_t | nelements () const |
How many elements does this array have? Product of all axis lengths. More... | |
size_t | size () const |
Bool | empty () const |
Is the array empty (i.e. More... | |
Bool | contiguousStorage () const |
Are the array data contiguous? If they are not contiguous, getStorage (see below) needs to make a copy. More... | |
virtual Bool | ok () const |
Check to see if the Array is consistent. More... | |
const IPosition & | shape () const |
The length of each axis. More... | |
IPosition | endPosition () const |
A convenience function: endPosition(i) = shape(i) - 1; i.e. More... | |
const IPosition & | steps () const |
Return steps to be made if stepping one element in a dimension. More... | |
virtual CountedPtr< ArrayBase > | makeArray () const |
Make an empty array of the same type. More... | |
virtual void | resize (const IPosition &newShape, Bool copyValues=False) |
Resize the array and optionally copy the values. More... | |
virtual void | resize (const IPosition &newShape, Bool copyValues, ArrayInitPolicy policy) |
Resize the array and optionally copy the values. More... | |
virtual CountedPtr < ArrayPositionIterator > | makeIterator (uInt byDim) const |
Create an ArrayIterator object of the correct type. More... | |
virtual CountedPtr< ArrayBase > | getSection (const Slicer &) const |
Get a reference to a section of an array. More... | |
virtual void | assignBase (const ArrayBase &source, Bool checkType=True) |
Assign the source array to this array. More... | |
virtual void * | getVStorage (Bool &deleteIt) |
The following functions behave the same as the corresponding getStorage functions in the derived templated Array class. More... | |
virtual const void * | getVStorage (Bool &deleteIt) const |
virtual void | putVStorage (void *&storage, Bool deleteAndCopy) |
virtual void | freeVStorage (const void *&storage, Bool deleteIt) const |
void | validateConformance (const ArrayBase &) const |
Various helper functions. More... | |
void | validateIndex (const IPosition &) const |
void | validateIndex (uInt index) const |
void | validateIndex (uInt index1, uInt index2) const |
void | validateIndex (uInt index1, uInt index2, uInt index3) const |
Static Public Member Functions | |
static uInt | arrayVersion () |
Array version for major change (used by ArrayIO). More... | |
Protected Member Functions | |
void | baseCopy (const ArrayBase &that) |
Bool | reformOrResize (const IPosition &newShape, Bool resizeIfNeeded, uInt nReferences, Int64 nElementsAllocated, Bool copyDataIfNeeded, uInt resizePercentage) |
Either reforms the array if size permits or resizes it to the new shape. More... | |
Bool | isStorageContiguous () const |
Determine if the storage of a subset is contiguous. More... | |
void | checkVectorShape () |
Check if the shape of a vector is correct. More... | |
void | checkMatrixShape () |
Check if the shape of a matrix is correct. More... | |
void | checkCubeShape () |
Check if the shape of a cube is correct. More... | |
void | baseReform (ArrayBase &tmp, const IPosition &shape, Bool strict=True) const |
Reform the array to a shape with the same nr of elements. More... | |
void | baseNonDegenerate (const ArrayBase &other, const IPosition &ignoreAxes) |
Remove the degenerate axes from the Array object. More... | |
void | baseAddDegenerate (ArrayBase &, uInt numAxes) |
These member functions return an Array reference with the specified number of extra axes, all of length one, appended to the end of the Array. More... | |
size_t | makeSubset (ArrayBase &out, const IPosition &b, const IPosition &e, const IPosition &i) |
Make a subset of an array. More... | |
size_t | makeDiagonal (uInt firstAxis, Int64 diag) |
Set the length and stride such that the diagonal of the matrices defined by two consecutive axes is formed. More... | |
Bool | conform2 (const ArrayBase &other) const |
Are the shapes identical? More... | |
void | baseMakeSteps () |
Make the indexing step sizes. More... | |
void | throwNdimVector () |
Throw expection if vector dimensionality is incorrect. More... | |
Bool | copyVectorHelper (const ArrayBase &other) |
Helper function for templated Vector class. More... | |
Protected Attributes | |
size_t | nels_p |
Number of elements in the array. More... | |
uInt | ndimen_p |
Dimensionality of the array. More... | |
Bool | contiguous_p |
Are the data contiguous? More... | |
IPosition | length_p |
Used to hold the shape, increment into the underlying storage and originalLength of the array. More... | |
IPosition | inc_p |
IPosition | originalLength_p |
IPosition | steps_p |
Used to hold the step to next element in each dimension. More... | |
Non-templated base class for templated Array class.
ArrayBase is only used to factor out common code from the templated Array class.
Definition at line 74 of file ArrayBase.h.
casacore::ArrayBase::ArrayBase | ( | ) |
|
explicit |
Create an array of the given shape, i.e.
after construction array.ndim() == shape.nelements() and array.shape() == shape. The origin of the Array is zero.
casacore::ArrayBase::ArrayBase | ( | const ArrayBase & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
inlinestatic |
Array version for major change (used by ArrayIO).
enum did not work properly with cfront 3.0.1), so replaced by a static inline function. Users won't normally use this.
Definition at line 138 of file ArrayBase.h.
|
virtual |
Assign the source array to this array.
If checkType==True
, it is checked if the underlying template types match. Otherwise, it is only checked in debug mode (for performance).
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
inlineprotected |
Definition at line 182 of file ArrayBase.h.
References operator=().
|
protected |
Make the indexing step sizes.
Referenced by casacore::Array< casacore::String >::makeSteps().
|
protected |
Remove the degenerate axes from the Array object.
This is the implementation of the nonDegenerate functions. It has a different name to be able to make it virtual without having the "hide virtual function" message when compiling derived classes.
|
protected |
Reform the array to a shape with the same nr of elements.
If nonStrict then caller assumes responsibility for not overrunning storage (avoid or use with extreme care).
|
protected |
Check if the shape of a cube is correct.
Adjust it if smaller.
|
protected |
Check if the shape of a matrix is correct.
Adjust it if smaller.
|
protected |
Check if the shape of a vector is correct.
If possible, adjust if not. It is possible if at most one axis has length > 1.
Are the shapes identical?
Definition at line 239 of file ArrayBase.h.
References casacore::IPosition::isEqual(), and length_p.
Referenced by casacore::Array< casacore::String >::conform().
|
inline |
Are the array data contiguous? If they are not contiguous, getStorage
(see below) needs to make a copy.
Definition at line 112 of file ArrayBase.h.
References contiguous_p.
Referenced by casacore::ArrayMath_global_functions_Array_mathematical_operations::arrayContTransform(), casacore::ArrayMath_global_functions_Array_mathematical_operations::arrayTransformInPlace(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::avdev(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::max(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::min(), casacore::MArrayLogical_global_functions_MArray_logical_operations::nfalse(), casacore::MArrayLogical_global_functions_MArray_logical_operations::ntrue(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::product(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::rms(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::sum(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::sumsqr(), and casacore::MArrayMath_global_functions_MArray_mathematical_operations::variance().
Helper function for templated Vector class.
It returns if this and other are conformant.
|
inline |
Is the array empty (i.e.
no elements)?
Definition at line 106 of file ArrayBase.h.
References nels_p.
Referenced by casa::sdfiller::DataChunk::accumulate(), casacore::MArrayBase::hasMask(), casa::sdfiller::DataChunk::isValidRecord(), casa::sdfiller::DataAccumulator::isValidRecord(), casa::sdfiller::SysCalTableRecord::operator==(), and casa::sdfiller::SysCalTableRecord::SysCalTableRecord().
IPosition casacore::ArrayBase::endPosition | ( | ) | const |
|
virtual |
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
virtual |
Get a reference to a section of an array.
This is the same as Array<T>::operator(), but without having to know the exact template type.
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
virtual |
The following functions behave the same as the corresponding getStorage functions in the derived templated Array class.
They handle a pointer to a contiguous block of array data. If the array is not contiguous, a copy is used to make it contiguous.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
virtual |
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
protected |
Determine if the storage of a subset is contiguous.
|
virtual |
Make an empty array of the same type.
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
Set the length and stride such that the diagonal of the matrices defined by two consecutive axes is formed.
diag
== 0 indicates the main diagonal, >0 above, <0 below. It returns the offset of the diagonal in the (original) array.
|
virtual |
Create an ArrayIterator object of the correct type.
This is implemented in the derived Array classes.
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
protected |
Make a subset of an array.
It checks if start,end,incr are within the array limits. It returns the offset of the subset in the (original) array.
|
inline |
The dimensionality of this array.
Definition at line 94 of file ArrayBase.h.
References ndimen_p.
Referenced by casacore::TableProxy::record2Array(), and casacore::Array< casacore::String >::setEndIter().
|
inline |
How many elements does this array have? Product of all axis lengths.
Definition at line 99 of file ArrayBase.h.
References nels_p.
Referenced by casa::sdfiller::DataChunk::accumulate(), casa::dbus::af(), casacore::areEQ(), casacore::TabVecRep< T >::conform(), casa::SolveDataBuffer::const_workingFlagCube(), casa::SolveDataBuffer::const_workingWtSpec(), casa::CalAnalysis::exists(), casacore::MSSelection::getDDIDList(), casacore::MSSelection::getSPWDDIDList(), casacore::MSSelection::getStateObsModeList(), casa::MSAsRaster::ind_(), casacore::ColumnsIndexArray::isUnique(), casacore::ColumnsIndex::isUnique(), casacore::ArrayMath_global_functions_Array_mathematical_operations::madfm(), casacore::ArrayMath_global_functions_Array_mathematical_operations::madfmInPlace(), casa::WorldCanvas::ColorIndexedImage_::maskValid(), casacore::ArrayMath_global_functions_Array_mathematical_operations::median(), casacore::ArrayMath_global_functions_Array_mathematical_operations::medianInPlace(), casa::CalInterpolation::nAxes(), casacore::LCSlicer::ndim(), casacore::ArrayLogical_global_functions_Array_logical_operations::ntrue(), casa::MSAsRaster::MSpos_::p0(), casacore::Vector< ArgType >::resize(), casa::ScantableFrequenciesIterator::ScantableFrequenciesIterator(), casa::SynthesisImagerMixin< T >::set_weighting(), casa::CalStats::stats(), casa::CalAnalysis::stats(), casa::CalAnalysis::unique(), and casa::CalAnalysis::where().
|
virtual |
Check to see if the Array is consistent.
This is about the same thing as checking for invariants. If AIPS_DEBUG is defined, this is invoked after construction and on entry to most member functions.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, casacore::Array< casacore::String >, casacore::Cube< T >, casacore::Cube< casacore::casacore::Cube< casacore::Float > >, casacore::Cube< casacore::CountedPtr< CFCell > >, casacore::Cube< Double >, casacore::Cube< float >, casacore::Cube< casacore::DComplex >, casacore::Cube< casacore::Float >, casacore::Cube< casacore::Double >, casacore::Cube< casacore::casacore::CountedPtr< casa::CFCell > >, casacore::Cube< casacore::casacore::Cube< casacore::Bool > >, casacore::Cube< casacore::casacore::RigidVector< casacore::Double, 2 > >, casacore::Cube< casacore::Bool >, casacore::Cube< casacore::Int >, casacore::Cube< casacore::Complex >, casacore::Cube< casacore::RigidVector< Double, 2 > >, casacore::Matrix< T >, casacore::Matrix< casacore::casacore::String >, casacore::Matrix< casacore::SquareMatrix< Complex, 2 > >, casacore::Matrix< std::shared_ptr< casacore::casacore::MVDirection > >, casacore::Matrix< Float >, casacore::Matrix< casacore::GaussianBeam >, casacore::Matrix< Double >, casacore::Matrix< casa::CalStats::OUT< T > >, casacore::Matrix< casacore::Float >, casacore::Matrix< Int >, casacore::Matrix< std::vector< bool > >, casacore::Matrix< casacore::Double >, casacore::Matrix< casa::CStokesVector >, casacore::Matrix< FType >, casacore::Matrix< Bool >, casacore::Matrix< casacore::casacore::CountedPtr< casa::CFBuffer > >, casacore::Matrix< Complex >, casacore::Matrix< casacore::casacore::CountedPtr< casa::refim::CFBuffer > >, casacore::Matrix< casacore::uInt >, casacore::Matrix< casacore::Bool >, casacore::Matrix< casacore::Int >, casacore::Matrix< casacore::Complex >, casacore::Matrix< casa::VBStore >, casacore::Vector< T >, casacore::Vector< casa::AsciiAnnotationFileLine >, casacore::Vector< typename casacore::FunctionTraits< T >::DiffType >, casacore::Vector< casacore::casacore::MFrequency >, casacore::Vector< casacore::Vector< casacore::Int > >, casacore::Vector< casacore::casacore::String >, casacore::Vector< casacore::casacore::IPosition >, casacore::Vector< casacore::SquareMatrix< Complex, 2 > >, casacore::Vector< casacore::casacore::CountedPtr< casa::VisibilityResamplerBase > >, casacore::Vector< casacore::MPosition >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< Double >::BaseType >::base > >, casacore::Vector< casacore::casacore::Quantum >, casacore::Vector< CFStore >, casacore::Vector< CFStore2 >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::DiffType >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::BaseType >, casacore::Vector< casacore::casacore::Array< casacore::Float > >, casacore::Vector< casacore::casacore::MeasurementSet::PredefinedColumns >, casacore::Vector< double >, casacore::Vector< Float >, casacore::Vector< casa::AnnotationBase::Keyword >, casacore::Vector< typename casacore::FunctionTraits< Float >::ArgType >, casacore::Vector< typename casacore::FunctionTraits< Float >::DiffType >, casacore::Vector< casacore::AutoDiff< Double > >, casacore::Vector< typename casacore::FunctionTraits< Double >::DiffType >, casacore::Vector< QString >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MDirection > >, casacore::Vector< casacore::casacore::RegularFile >, casacore::Vector< casacore::casacore::RigidVector< double, 2 > >, casacore::Vector< casacore::casacore::CountedPtr< casa::SkyJones > >, casacore::Vector< float >, casacore::Vector< casacore::Quantum >, casacore::Vector< Double >, casacore::Vector< casacore::casacore::Quantum< casacore::Double > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Array< casacore::Complex > > >, casacore::Vector< casacore::Vector< Range > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::Double > > > >, casacore::Vector< casacore::DComplex >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Slice > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::Double > > >, casacore::Vector< int >, casacore::Vector< AutoDiff< T > >, casacore::Vector< casacore::Float >, casacore::Vector< Vector< Double > >, casacore::Vector< casacore::casacore::CountedPtr< casa::refim::SkyJones > >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< DComplex >::BaseType >::base > >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::DiffType >, casacore::Vector< casacore::casacore::Vector< int > >, casacore::Vector< std::shared_ptr< casacore::casacore::MVFrequency > >, casacore::Vector< casa::SynthesisParamsSelect >, casacore::Vector< casa::DisplayPoint3 >, casacore::Vector< casacore::casacore::Vector< casacore::Int > >, casacore::Vector< casacore::casacore::Matrix< casacore::Int > >, casacore::Vector< casacore::casacore::MVBaseline >, casacore::Vector< casacore::CountedPtr< CFBuffer > >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< Float >::BaseType >::base > >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::ArgType >, casacore::Vector< casacore::uInt64 >, casacore::Vector< casacore::Int64 >, casacore::Vector< casacore::casacore::MEpoch >, casacore::Vector< casacore::casacore::Slice >, casacore::Vector< casacore::Unit >, casacore::Vector< Int >, casacore::Vector< casacore::casacore::Vector< casacore::Double > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MVFrequency > >, casacore::Vector< Int64 >, casacore::Vector< casacore::casacore::MPosition >, casacore::Vector< casacore::MDirection >, casacore::Vector< typename casacore::FunctionTraits< Double >::ArgType >, casacore::Vector< dbus::variant >, casacore::Vector< casacore::MFrequency >, casacore::Vector< casacore::RORecordFieldPtr< Double > >, casacore::Vector< casacore::casacore::Matrix< casacore::Double > >, casacore::Vector< casacore::Double >, casacore::Vector< Type >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::BaseType >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::ArgType >, casacore::Vector< FType >, casacore::Vector< FitterType >, casacore::Vector< std::shared_ptr< casa::SIImageStore > >, casacore::Vector< Bool >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::String > >, casacore::Vector< typename casacore::casacore::NumericTraits< T >::ConjugateType >, casacore::Vector< std::map< std::pair< double, int >, int > >, casacore::Vector< casa::Flux< casacore::Double > >, casacore::Vector< casacore::casacore::RigidVector< casacore::Double, 3 > >, casacore::Vector< casacore::casacore::Vector< FuncTypes > >, casacore::Vector< typename casacore::FunctionTraits< T >::BaseType >, casacore::Vector< casacore::casacore::Matrix< casacore::Complex > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Array< casacore::DComplex > > >, casacore::Vector< std::pair< casacore::Quantity, casacore::Quantity > >, casacore::Vector< bool >, casacore::Vector< SAS >, casacore::Vector< typename casacore::FunctionTraits< T >::ArgType >, casacore::Vector< casacore::casacore::CountedPtr< casa::refim::CFBuffer > >, casacore::Vector< casacore::casacore::PagedImage< casacore::Complex > * >, casacore::Vector< casacore::casacore::CountedPtr< casa::ResamplerWorklet > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Matrix< casacore::Double > > >, casacore::Vector< typename casacore::FunctionTraits< Double >::BaseType >, casacore::Vector< casacore::casacore::SquareMatrix< casacore::Complex, 2 > >, casacore::Vector< casacore::casacore::MSSelection >, casacore::Vector< casacore::casacore::Vector< bool > >, casacore::Vector< casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > >, casacore::Vector< casacore::casacore::Stokes::StokesTypes >, casacore::Vector< casacore::casacore::Vector< casacore::uInt > >, casacore::Vector< casacore::Float * >, casacore::Vector< casacore::uInt >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MVAngle > >, casacore::Vector< ALMAAntennaType >, casacore::Vector< typename casacore::FunctionTraits< Float >::BaseType >, casacore::Vector< casacore::Vector >, casacore::Vector< casacore::Slicer * >, casacore::Vector< std::map< casacore::Double, casacore::casacore::MDirection > >, casacore::Vector< INTERPMETHOD >, casacore::Vector< casacore::casacore::RigidVector< casacore::Int, 2 > >, casacore::Vector< casacore::casacore::MDirection >, casacore::Vector< casacore::MeasComet * >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< T >::BaseType >::base > >, casacore::Vector< Domain >, casacore::Vector< casacore::Quantum< Double > >, casacore::Vector< casacore::Complex >, casacore::Vector< uInt >, casacore::Vector< casacore::Int >, casacore::Vector< casacore::Bool >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< casacore::Float >::BaseType >::base > >, casacore::Vector< vi::casa::vi::ViiLayerFactory * >, casacore::Vector< RFlagWord >, casacore::Vector< casacore::Vector< casacore::Complex > >, casacore::Vector< casa::BeamCalcGeometry >, casacore::Vector< casacore::String >, and casacore::Vector< ArgType >.
Assignment.
Referenced by baseCopy().
|
virtual |
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
protected |
Either reforms the array if size permits or resizes it to the new shape.
Implementation of Array<T>::reformOrResize (slightly different signature).
|
virtual |
Resize the array and optionally copy the values.
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, and casacore::Array< casacore::String >.
|
virtual |
Resize the array and optionally copy the values.
The default implementation in ArrayBase throws an exception.
Reimplemented in casacore::Array< T >, casacore::Array< casacore::casacore::MFrequency >, casacore::Array< casacore::casacore::String >, casacore::Array< casacore::casacore::Quantum >, casacore::Array< TT >, casacore::Array< Float >, casacore::Array< recordType >, casacore::Array< MRadialVelocity >, casacore::Array< Double >, casacore::Array< casacore::MVFrequency >, casacore::Array< casacore::DComplex >, casacore::Array< MPosition >, casacore::Array< MDirection >, casacore::Array< casacore::Float >, casacore::Array< Short >, casacore::Array< uChar >, casacore::Array< MFrequency >, casacore::Array< Int >, casacore::Array< casacore::Char >, casacore::Array< std::shared_ptr< casa::ProfileFitResults > >, casacore::Array< casacore::uChar >, casacore::Array< Int64 >, casacore::Array< casacore::Short >, casacore::Array< casa::CTTimeInterp1 * >, casacore::Array< DComplex >, casacore::Array< casacore::MVTime >, casacore::Array< casacore::Double >, casacore::Array< FType >, casacore::Array< Data >, casacore::Array< Bool >, casacore::Array< typename casacore::NumericTraits< casacore::Float >::ConjugateType >, casacore::Array< Complex >, casacore::Array< MEarthMagnetic >, casacore::Array< casacore::uInt >, casacore::Array< MDoppler >, casacore::Array< casacore::casacore::MDirection >, casacore::Array< typename casacore::NumericTraits< FType >::ConjugateType >, casacore::Array< MEpoch >, casacore::Array< casacore::Int >, casacore::Array< casacore::Bool >, casacore::Array< casacore::Complex >, casacore::Array< M >, casacore::Array< casa::NewCalTable * >, casacore::Array< casacore::String >, casacore::Vector< T >, casacore::Vector< casa::AsciiAnnotationFileLine >, casacore::Vector< typename casacore::FunctionTraits< T >::DiffType >, casacore::Vector< casacore::casacore::MFrequency >, casacore::Vector< casacore::Vector< casacore::Int > >, casacore::Vector< casacore::casacore::String >, casacore::Vector< casacore::casacore::IPosition >, casacore::Vector< casacore::SquareMatrix< Complex, 2 > >, casacore::Vector< casacore::casacore::CountedPtr< casa::VisibilityResamplerBase > >, casacore::Vector< casacore::MPosition >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< Double >::BaseType >::base > >, casacore::Vector< casacore::casacore::Quantum >, casacore::Vector< CFStore >, casacore::Vector< CFStore2 >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::DiffType >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::BaseType >, casacore::Vector< casacore::casacore::Array< casacore::Float > >, casacore::Vector< casacore::casacore::MeasurementSet::PredefinedColumns >, casacore::Vector< double >, casacore::Vector< Float >, casacore::Vector< casa::AnnotationBase::Keyword >, casacore::Vector< typename casacore::FunctionTraits< Float >::ArgType >, casacore::Vector< typename casacore::FunctionTraits< Float >::DiffType >, casacore::Vector< casacore::AutoDiff< Double > >, casacore::Vector< typename casacore::FunctionTraits< Double >::DiffType >, casacore::Vector< QString >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MDirection > >, casacore::Vector< casacore::casacore::RegularFile >, casacore::Vector< casacore::casacore::RigidVector< double, 2 > >, casacore::Vector< casacore::casacore::CountedPtr< casa::SkyJones > >, casacore::Vector< float >, casacore::Vector< casacore::Quantum >, casacore::Vector< Double >, casacore::Vector< casacore::casacore::Quantum< casacore::Double > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Array< casacore::Complex > > >, casacore::Vector< casacore::Vector< Range > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::Double > > > >, casacore::Vector< casacore::DComplex >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Slice > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::Vector< casacore::Double > > >, casacore::Vector< int >, casacore::Vector< AutoDiff< T > >, casacore::Vector< casacore::Float >, casacore::Vector< Vector< Double > >, casacore::Vector< casacore::casacore::CountedPtr< casa::refim::SkyJones > >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< DComplex >::BaseType >::base > >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::DiffType >, casacore::Vector< casacore::casacore::Vector< int > >, casacore::Vector< std::shared_ptr< casacore::casacore::MVFrequency > >, casacore::Vector< casa::SynthesisParamsSelect >, casacore::Vector< casa::DisplayPoint3 >, casacore::Vector< casacore::casacore::Vector< casacore::Int > >, casacore::Vector< casacore::casacore::Matrix< casacore::Int > >, casacore::Vector< casacore::casacore::MVBaseline >, casacore::Vector< casacore::CountedPtr< CFBuffer > >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< Float >::BaseType >::base > >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::ArgType >, casacore::Vector< casacore::uInt64 >, casacore::Vector< casacore::Int64 >, casacore::Vector< casacore::casacore::MEpoch >, casacore::Vector< casacore::casacore::Slice >, casacore::Vector< casacore::Unit >, casacore::Vector< Int >, casacore::Vector< casacore::casacore::Vector< casacore::Double > >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MVFrequency > >, casacore::Vector< Int64 >, casacore::Vector< casacore::casacore::MPosition >, casacore::Vector< casacore::MDirection >, casacore::Vector< typename casacore::FunctionTraits< Double >::ArgType >, casacore::Vector< dbus::variant >, casacore::Vector< casacore::MFrequency >, casacore::Vector< casacore::RORecordFieldPtr< Double > >, casacore::Vector< casacore::casacore::Matrix< casacore::Double > >, casacore::Vector< casacore::Double >, casacore::Vector< Type >, casacore::Vector< typename casacore::FunctionTraits< DComplex >::BaseType >, casacore::Vector< typename casacore::FunctionTraits< casacore::Float >::ArgType >, casacore::Vector< FType >, casacore::Vector< FitterType >, casacore::Vector< std::shared_ptr< casa::SIImageStore > >, casacore::Vector< Bool >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::String > >, casacore::Vector< typename casacore::casacore::NumericTraits< T >::ConjugateType >, casacore::Vector< std::map< std::pair< double, int >, int > >, casacore::Vector< casa::Flux< casacore::Double > >, casacore::Vector< casacore::casacore::RigidVector< casacore::Double, 3 > >, casacore::Vector< casacore::casacore::Vector< FuncTypes > >, casacore::Vector< typename casacore::FunctionTraits< T >::BaseType >, casacore::Vector< casacore::casacore::Matrix< casacore::Complex > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Array< casacore::DComplex > > >, casacore::Vector< std::pair< casacore::Quantity, casacore::Quantity > >, casacore::Vector< bool >, casacore::Vector< SAS >, casacore::Vector< typename casacore::FunctionTraits< T >::ArgType >, casacore::Vector< casacore::casacore::CountedPtr< casa::refim::CFBuffer > >, casacore::Vector< casacore::casacore::PagedImage< casacore::Complex > * >, casacore::Vector< casacore::casacore::CountedPtr< casa::ResamplerWorklet > >, casacore::Vector< casacore::casacore::CountedPtr< casacore::casacore::Matrix< casacore::Double > > >, casacore::Vector< typename casacore::FunctionTraits< Double >::BaseType >, casacore::Vector< casacore::casacore::SquareMatrix< casacore::Complex, 2 > >, casacore::Vector< casacore::casacore::MSSelection >, casacore::Vector< casacore::casacore::Vector< bool > >, casacore::Vector< casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > >, casacore::Vector< casacore::casacore::Stokes::StokesTypes >, casacore::Vector< casacore::casacore::Vector< casacore::uInt > >, casacore::Vector< casacore::Float * >, casacore::Vector< casacore::uInt >, casacore::Vector< casacore::casacore::Vector< casacore::casacore::MVAngle > >, casacore::Vector< ALMAAntennaType >, casacore::Vector< typename casacore::FunctionTraits< Float >::BaseType >, casacore::Vector< casacore::Vector >, casacore::Vector< casacore::Slicer * >, casacore::Vector< std::map< casacore::Double, casacore::casacore::MDirection > >, casacore::Vector< INTERPMETHOD >, casacore::Vector< casacore::casacore::RigidVector< casacore::Int, 2 > >, casacore::Vector< casacore::casacore::MDirection >, casacore::Vector< casacore::MeasComet * >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< T >::BaseType >::base > >, casacore::Vector< Domain >, casacore::Vector< casacore::Quantum< Double > >, casacore::Vector< casacore::Complex >, casacore::Vector< uInt >, casacore::Vector< casacore::Int >, casacore::Vector< casacore::Bool >, casacore::Vector< casacore::Vector< typename casacore::LSQTraits< typename casacore::FunctionTraits< casacore::Float >::BaseType >::base > >, casacore::Vector< vi::casa::vi::ViiLayerFactory * >, casacore::Vector< RFlagWord >, casacore::Vector< casacore::Vector< casacore::Complex > >, casacore::Vector< casa::BeamCalcGeometry >, casacore::Vector< casacore::String >, casacore::Vector< ArgType >, casacore::Matrix< T >, casacore::Matrix< casacore::casacore::String >, casacore::Matrix< casacore::SquareMatrix< Complex, 2 > >, casacore::Matrix< std::shared_ptr< casacore::casacore::MVDirection > >, casacore::Matrix< Float >, casacore::Matrix< casacore::GaussianBeam >, casacore::Matrix< Double >, casacore::Matrix< casa::CalStats::OUT< T > >, casacore::Matrix< casacore::Float >, casacore::Matrix< Int >, casacore::Matrix< std::vector< bool > >, casacore::Matrix< casacore::Double >, casacore::Matrix< casa::CStokesVector >, casacore::Matrix< FType >, casacore::Matrix< Bool >, casacore::Matrix< casacore::casacore::CountedPtr< casa::CFBuffer > >, casacore::Matrix< Complex >, casacore::Matrix< casacore::casacore::CountedPtr< casa::refim::CFBuffer > >, casacore::Matrix< casacore::uInt >, casacore::Matrix< casacore::Bool >, casacore::Matrix< casacore::Int >, casacore::Matrix< casacore::Complex >, casacore::Matrix< casa::VBStore >, casacore::Cube< T >, casacore::Cube< casacore::casacore::Cube< casacore::Float > >, casacore::Cube< casacore::CountedPtr< CFCell > >, casacore::Cube< Double >, casacore::Cube< float >, casacore::Cube< casacore::DComplex >, casacore::Cube< casacore::Float >, casacore::Cube< casacore::Double >, casacore::Cube< casacore::casacore::CountedPtr< casa::CFCell > >, casacore::Cube< casacore::casacore::Cube< casacore::Bool > >, casacore::Cube< casacore::casacore::RigidVector< casacore::Double, 2 > >, casacore::Cube< casacore::Bool >, casacore::Cube< casacore::Int >, casacore::Cube< casacore::Complex >, and casacore::Cube< casacore::RigidVector< Double, 2 > >.
|
inline |
The length of each axis.
Definition at line 121 of file ArrayBase.h.
References length_p.
Referenced by casacore::checkArrayShapes(), casa::vi::VbCacheItemArray< casacore::casacore::Vector< casacore::uInt > >::copyRowElementAux(), casa::ProtoVR::DataToGrid(), casacore::MArray< casacore::String >::fill(), casacore::TableProxy::record2Array(), casa::CFCell::setStorage(), casa::SynthesisUtils::SETVEC(), casa::refim::SynthesisUtils::SETVEC(), and casacore::HDF5Record::writeArr().
|
inline |
Definition at line 101 of file ArrayBase.h.
References nels_p.
Referenced by casacore::CoordinateSystem::_downcase(), casa::sdfiller::DataChunk::accumulate(), casacore::ArrayLogical_global_functions_Array_logical_operations::allSame(), casa::denoising::GslMultifitLinearBase::calcFitModelStdCore(), casacore::TableParseSelect::doGroupByAggrSingleKey(), casa::sdfiller::ObservationRecord::fill(), casa::sdfiller::SysCalRecord::fill(), casa::sdfiller::SourceRecord::fill(), casacore::MArray< T >::flatten(), casa::PMS::fromIntVector(), casacore::Adios2StManColumnT< T >::getArrayColumnCellsV(), casa::Vi2StatsDataIterator< casacore::Double, casacore::Complex >::getCount(), casa::ScantableSourceIterator::getEntry(), casa::SpectralElement::getOrder(), casa::sdfiller::SysCalTableRecord::operator==(), casa::RSUtils::pixelToScreen(), casacore::Adios2StManColumnT< T >::putArrayColumnCellsV(), casa::spwInfo::reset(), casa::ScantableFieldIterator::ScantableFieldIterator(), casa::ScantableSourceIterator::ScantableSourceIterator(), casa::RSUtils::screenToPixel(), casa::RSUtils::screenToWorld(), casa::RegionShape::screenToWorld(), casa::SingleDishMS::set_matrix_for_bltable(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), casa::sdfiller::SysCalTableRecord::SysCalTableRecord(), and casacore::TableExprNodeSet::toArray().
|
inline |
Return steps to be made if stepping one element in a dimension.
This is the 'physical' step, thus it also works correctly for non-contiguous arrays. E.g. data() + steps(0)
gives the second element of the first axis.
Definition at line 132 of file ArrayBase.h.
References steps_p.
|
protected |
Throw expection if vector dimensionality is incorrect.
void casacore::ArrayBase::validateConformance | ( | const ArrayBase & | ) | const |
Various helper functions.
void casacore::ArrayBase::validateIndex | ( | const IPosition & | ) | const |
void casacore::ArrayBase::validateIndex | ( | uInt | index | ) | const |
|
protected |
Are the data contiguous?
Definition at line 268 of file ArrayBase.h.
Referenced by casacore::Cube< casacore::RigidVector< Double, 2 > >::at(), contiguousStorage(), casacore::Matrix< casa::VBStore >::operator()(), casacore::Vector< ArgType >::operator[](), and casacore::Array< casacore::String >::setEndIter().
|
protected |
Definition at line 271 of file ArrayBase.h.
Referenced by casacore::Vector< ArgType >::operator()(), and casacore::Vector< ArgType >::operator[]().
|
protected |
Used to hold the shape, increment into the underlying storage and originalLength of the array.
Definition at line 271 of file ArrayBase.h.
Referenced by conform2(), casacore::Cube< casacore::RigidVector< Double, 2 > >::ncolumn(), casacore::Matrix< casa::VBStore >::ncolumn(), casacore::Cube< casacore::RigidVector< Double, 2 > >::nplane(), casacore::Cube< casacore::RigidVector< Double, 2 > >::nrow(), casacore::Matrix< casa::VBStore >::nrow(), casacore::Array< casacore::String >::setEndIter(), shape(), casacore::Cube< casacore::RigidVector< Double, 2 > >::shape(), casacore::Vector< ArgType >::shape(), and casacore::Matrix< casa::VBStore >::shape().
|
protected |
|
protected |
Number of elements in the array.
Cached rather than computed.
Definition at line 264 of file ArrayBase.h.
Referenced by empty(), nelements(), casacore::Array< casacore::String >::setEndIter(), and size().
|
protected |
Definition at line 271 of file ArrayBase.h.
|
protected |
Used to hold the step to next element in each dimension.
Definition at line 273 of file ArrayBase.h.
Referenced by casacore::Array< casacore::String >::setEndIter(), and steps().