28 #ifndef TABLES_EXPRNODE_H
29 #define TABLES_EXPRNODE_H
52 class TableExprNodeBinary;
53 class TableExprNodeSet;
54 template<
class T>
class Block;
55 template<
class T>
class Array;
56 template<
class T>
class MArray;
269 {
node_p->disableApplySelection(); }
274 {
node_p->applySelection (rownrs); }
278 {
return node_p->unit(); }
282 {
return node_p->attributes(); }
298 {
return node_p->nrow(); }
375 void show (ostream&)
const;
525 {
node_p->ranges (blrange); }
529 {
return node_p->table(); }
533 { value =
node_p->getBool (
id); }
535 { value =
node_p->getInt (
id); }
537 { value =
node_p->getDouble (
id); }
539 { value =
node_p->getDComplex (
id); }
541 { value =
node_p->getString (
id); }
543 { value =
node_p->getRegex (
id); }
545 { value =
node_p->getDate (
id); }
548 { value =
node_p->getArrayBool (
id); }
551 { value =
node_p->getArrayInt (
id); }
554 { value =
node_p->getArrayDouble (
id); }
557 { value =
node_p->getArrayDComplex (
id); }
560 { value =
node_p->getArrayString (
id); }
563 { value =
node_p->getArrayDate (
id); }
566 { value =
node_p->getArrayBool (
id).array(); }
569 { value =
node_p->getArrayInt (
id).array(); }
572 { value =
node_p->getArrayDouble (
id).array(); }
575 { value =
node_p->getArrayDComplex (
id).array(); }
578 { value =
node_p->getArrayString (
id).array(); }
581 { value =
node_p->getArrayDate (
id).array(); }
583 {
return node_p->getBool (
id); }
585 {
return node_p->getInt (
id); }
587 {
return node_p->getDouble (
id); }
589 {
return node_p->getDComplex (
id); }
591 {
return node_p->getDate (
id); }
593 {
return node_p->getString (
id); }
595 {
return node_p->getArrayBool (
id).array(); }
597 {
return node_p->getArrayInt (
id).array(); }
599 {
return node_p->getArrayDouble (
id).array(); }
601 {
return node_p->getArrayDComplex (
id).array(); }
603 {
return node_p->getArrayString (
id).array(); }
605 {
return node_p->getArrayDate (
id).array(); }
607 {
return node_p->getBoolAS (
id); }
609 {
return node_p->getIntAS (
id); }
611 {
return node_p->getDoubleAS (
id); }
613 {
return node_p->getDComplexAS (
id); }
615 {
return node_p->getStringAS (
id); }
617 {
return node_p->getDateAS (
id); }
620 {
return node_p->getColumnBool (rownrs); }
622 {
return node_p->getColumnuChar (rownrs); }
624 {
return node_p->getColumnShort (rownrs); }
626 {
return node_p->getColumnuShort (rownrs); }
628 {
return node_p->getColumnInt (rownrs); }
630 {
return node_p->getColumnuInt (rownrs); }
632 {
return node_p->getColumnInt64 (rownrs); }
634 {
return node_p->getColumnFloat (rownrs); }
636 {
return node_p->getColumnDouble (rownrs); }
638 {
return node_p->getColumnComplex (rownrs); }
640 {
return node_p->getColumnDComplex (rownrs); }
642 {
return node_p->getColumnString (rownrs); }
1205 left, right, tolerance);
1218 left, right, tolerance);
1255 sourcePos, conePos, radii);
1262 sourcePos, conePos, radii);
1269 sourcePos, conePos, radii);
1740 array, fraction, axes);
1770 node, halfBoxWidth);
1776 node, halfBoxWidth);
1782 node, halfBoxWidth);
1788 node, halfBoxWidth);
1794 node, halfBoxWidth);
1800 node, halfBoxWidth);
1806 node, halfBoxWidth);
1812 node, halfBoxWidth);
1818 node, halfBoxWidth);
1824 node, halfBoxWidth);
1830 node, halfBoxWidth);
1836 node, halfBoxWidth);
1842 node, halfBoxWidth);
1848 node, halfBoxWidth);
1854 node, halfBoxWidth);
1860 node, halfBoxWidth);
1866 node, halfBoxWidth);
1872 node, halfBoxWidth);
1878 node, halfBoxWidth);
1884 node, halfBoxWidth);
1953 condition, arg1, arg2);
LatticeExprNode log10(const LatticeExprNode &expr)
CountedPtr< TableExprNodeRep > TENShPtr
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
TableExprNode dms(const TableExprNode &node)
TableExprNode boxedStddev(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
TableExprNode anyCone(const TableExprNode &sourcePos, const TableExprNode &cones)
The result is always a Bool scalar telling if any cone contains the source.
TableExprNode transpose(const TableExprNode &array)
Transpose all axes of a (masked) array.
return angles as dms strings
TableExprNode alls(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
LatticeExprNode log(const LatticeExprNode &expr)
Array< MVTime > getArrayDate(const TableExprId &id) const
TableExprNode useUnit(const Unit &unit) const
Use a unit for the given TableExprNode.
TENShPtr newIN(const TENShPtr &right, const TaQLStyle &) const
TENShPtr newTimes(const TENShPtr &right) const
LatticeExprNode arg(const LatticeExprNode &expr)
TableExprNode means(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode runningRms(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
uInt nrow() const
Get the number of rows in the table associated with this expression.
TableExprNode downcase(const TableExprNode &node)
LatticeExprNode median(const LatticeExprNode &expr)
MArray< Double > getDoubleAS(const TableExprId &id) const
for Int, Double or Complex returning Double or Complex
String getString(const TableExprId &id) const
Array< Int64 > getColumnInt64(const Vector< uInt > &rownrs) const
TableExprNode time(const TableExprNode &node)
for any array returning Bool scalar
TENShPtr newModulo(const TENShPtr &right) const
std::complex< Float > Complex
Main interface class to a read/write table.
LatticeExprNode operator/(const LatticeExprNode &left, const LatticeExprNode &right)
TableExprNode runningVariance(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
DComplex getDComplex(const TableExprId &id) const
cone search functions, implemented in derived class
LatticeExprNode imag(const LatticeExprNode &expr)
TableExprNode variances(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
for Bool array returning Int scalar
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Class to hold multiple table expression nodes.
LatticeExprNode sum(const LatticeExprNode &expr)
TableExprNode(TableExprNodeRep *rep)
Construct from a node representation.
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
TableExprNode weekday(const TableExprNode &node)
Handle class for a table column expression tree.
LatticeExprNode operator%(const LatticeExprNode &left, const LatticeExprNode &right)
Double getDouble(const TableExprId &id) const
TableExprNode runningAll(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
TableExprNode phase(const TableExprNode &node)
The phase (i.e.
TENShPtr newMinus(const TENShPtr &right) const
TableExprNode operator+() const
Unary operators on numeric TableExprNode's.
TableExprNode ltrim(const TableExprNode &node)
static TableExprNode newRandomNode(const Table &table)
Create rand() function node.
t * get() const
Get the underlying pointer.
Bool near(const GaussianBeam &left, const GaussianBeam &other, const Double relWidthTol, const Quantity &absPaTol)
for Int, Double, Complex or String returning Bool
LatticeExprNode ntrue(const LatticeExprNode &expr)
for Int, Double or DComplex returning Double
LatticeExprNode operator!=(const LatticeExprNode &left, const LatticeExprNode &right)
Bool getBool(const TableExprId &id) const
DataType dataType() const
Get the data type of the expression.
Array< uInt > getColumnuInt(const Vector< uInt > &rownrs) const
const Table & table() const
Get table.
TableExprNode mins(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
LatticeExprNode fractile(const LatticeExprNode &expr, const LatticeExprNode &fraction)
Determine the value of the element at the part fraction from the beginning of the given lattice...
void adaptUnit(const Unit &)
Adapt the unit of the expression to the given unit (if not empty).
TableExprNode maxs(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
angular distance returning radians
TableExprNode year(const TableExprNode &node)
TableExprNode operator&(const TableExprNode &left, const TableExprNode &right)
static TableExprNode newFunctionNode(TableExprFuncNode::FunctionType, const TableExprNodeSet &set, const Table &table, const TaQLStyle &=TaQLStyle(0))
Create function node of the given type with the given arguments.
LatticeExprNode exp(const LatticeExprNode &expr)
TableExprNode mjd(const TableExprNode &node)
TENShPtr newAND(const TENShPtr &right) const
void applySelection(const Vector< uInt > &rownrs)
Re-create the column object for a selection of rows.
TENShPtr newOR(const TENShPtr &right) const
TableExprNode month(const TableExprNode &node)
Abstract base class for a node in a table column expression tree.
Array< Double > getArrayDouble(const TableExprId &id) const
static TableExprNode newKeyConst(const TableRecord &, const Vector< String > &fieldNames)
Create a TableExprNodeConst for a table keyword (which is handled as a constant). ...
TableExprNode boxedAvdev(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
TableExprNode marray(const TableExprNode &array, const TableExprNode &mask)
Form a masked array.
MArray< MVTime > getDateAS(const TableExprId &id) const
TableExprNode runningMax(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
TableExprNode strlength(const TableExprNode &node)
String functions on scalars or arrays.
LatticeExprNode any(const LatticeExprNode &expr)
Functions operating on a logical expression resulting in a scalar; Functions "any" (are any pixels "T...
TableExprNode boxedMedian(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode floor(const LatticeExprNode &expr)
TableExprNode arrayMask(const TableExprNode &array)
Get the mask of a masked array.
TableExprNode cones(const TableExprNode &sourcePos, const TableExprNode &cones)
Cone search; test if the position of a source is inside a cone.
TableExprNode boolean(const TableExprNode &node)
Convert numeric or string value to bool (0, no, false, - means false)
static TableExprNode newRowidNode(const Table &table)
Create rowid() function node.
MVEarthMagnetic operator*(const RotMatrix &left, const MVEarthMagnetic &right)
Rotate a EarthMagnetic vector with rotation matrix and other multiplications.
LatticeExprNode cos(const LatticeExprNode &expr)
DataType getColumnDataType() const
Get the data type for doing a getColumn on the expression.
void get(const TableExprId &id, Bool &value) const
Get a value for this node in the given row.
for any array returning Int scalar
for any array returning Int array
for Int, Double, Bool or String returning Int (using floor)
TableExprNode rtrim(const TableExprNode &node)
TableExprNode pattern(const TableExprNode &node)
LatticeExprNode operator>=(const LatticeExprNode &left, const LatticeExprNode &right)
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
TENShPtr node_p
The actual (counted referenced) representation of a node.
const TableExprNodeRep * getNodeRep() const
LatticeExprNode conj(const LatticeExprNode &expr)
void show(ostream &) const
Show the tree.
Array< Int64 > getArrayInt(const TableExprId &id) const
Array< uShort > getColumnuShort(const Vector< uInt > &rownrs) const
~TableExprNode()
The destructor deletes all the underlying TableExprNode objects,.
for any type returning array of that type
for Int, Double or DComplex returning Int, Double or Complex
TableExprNode & operator=(const TableExprNode &)
Assignment (reference semantics).
LatticeExprNode nfalse(const LatticeExprNode &expr)
MVTime getDate(const TableExprId &id) const
void disableApplySelection()
Do not apply the selection.
Array< String > getArrayString(const TableExprId &id) const
special function resembling if statement
for Double or DComplex returning Double
TableExprNode medians(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode sumSquares(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode operator~() const
Unary bitwise negate-operator on integer TableExprNode's.
Array< Short > getColumnShort(const Vector< uInt > &rownrs) const
TENShPtr newBitOr(const TENShPtr &right) const
LatticeExprNode tanh(const LatticeExprNode &expr)
TableExprNode ntrues(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
for Int, Double or DComplex array returning Bool
TableExprNode fractiles(const TableExprNode &array, const TableExprNode &fraction, const TableExprNodeSet &collapseAxes)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
TableExprNode boxedAny(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode avdev(const LatticeExprNode &expr)
const Unit & unit() const
Get the unit of the expression.
TableExprNode isInf(const TableExprNode &node)
TableExprNode arrayFlatten(const TableExprNode &array)
Flatten a masked array (get unmasked elements).
TENShPtr newDivide(const TENShPtr &right) const
for Int, Double or DComplex returning Double or Complex
LatticeExprNode replace(const LatticeExprNode &arg1, const LatticeExprNode &arg2)
This function replaces every masked-off element in the first argument with the corresponding element ...
for Int, or Double or Complex returning Bool (2 is with default tolerance)
Array< Complex > getColumnComplex(const Vector< uInt > &rownrs) const
TableExprNode operator!() const
Unary NOT-operator on boolean TableExprNode's.
static TableExprNode newRownrNode(const Table &table, uInt origin)
Create rownumber() function node.
TENShPtr newGT(const TENShPtr &right) const
Array< Double > getColumnDouble(const Vector< uInt > &rownrs) const
std::complex< Double > DComplex
TableExprNode cdate(const TableExprNode &node)
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
Regular expression class.
return angles as hms/dms strings
TableExprNode in(const TableExprNode &array, const TaQLStyle &=TaQLStyle(0)) const
The IN operator to test if a value is contained in an array or set.
TableExprNode arrayData(const TableExprNode &array)
Get the data array of a masked array.
TableExprNode trim(const TableExprNode &node)
Class with static members defining the TaQL style.
LatticeExprNode ndim(const LatticeExprNode &expr)
1-argument function to get the dimensionality of a lattice.
LatticeExprNode operator<=(const LatticeExprNode &left, const LatticeExprNode &right)
Array< DComplex > getArrayDComplex(const TableExprId &id) const
MArray< String > getStringAS(const TableExprId &id) const
for Int, Double or Complex array returning the same
LatticeExprNode formComplex(const LatticeExprNode &left, const LatticeExprNode &right)
Form a complex number from two real numbers.
TableExprNode boxedAll(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode iif(const LatticeExprNode &condition, const LatticeExprNode &arg1, const LatticeExprNode &arg2)
Function resembling the ternary ?: construct in C++.
LatticeExprNode nelements(const LatticeExprNode &expr)
1-argument function to get the number of elements in a lattice.
TableExprNode anys(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode boxedMax(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode sign(const LatticeExprNode &expr)
LatticeExprNode sqrt(const LatticeExprNode &expr)
TableExprNode products(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
LatticeExprNode tan(const LatticeExprNode &expr)
for Int or Double returning Int or Double
TableExprNode isFinite(const TableExprNode &node)
Function to test if a scalar or array is finite.
TableExprNode runningAny(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode atan(const LatticeExprNode &expr)
MArray< Int64 > getIntAS(const TableExprId &id) const
TENShPtr setBinaryNodeInfo(TableExprNodeBinary *tsnptr, const TENShPtr &right=TENShPtr()) const
Put the new binary node object in a shared pointer.
A hierarchical collection of named fields of various types.
TableExprNode product(const TableExprNode &array)
bool Bool
Define the standard types used by Casacore.
TENShPtr newGE(const TENShPtr &right) const
TableExprNode upcase(const TableExprNode &node)
TableExprNode cube(const TableExprNode &node)
LatticeExprNode stddev(const LatticeExprNode &expr)
TableExprNode runningMedian(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
TableExprNode angdistx(const TableExprNode &pos1, const TableExprNode &pos2)
Angular distance as above, but only pair-wise enties are used if both arguments are arrays...
static std::vector< TENShPtr > convertBlockTEN(Block< TableExprNode > &nodes)
convert Block of TableExprNode to vector of TENShPtr.
for DComplex or String returning DComplex
LatticeExprNode round(const LatticeExprNode &expr)
Array< Bool > getArrayBool(const TableExprId &id) const
TableExprNode runningStddev(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
return angles as hms strings
TableExprNode substr(const TableExprNode &str, const TableExprNode &pos)
TableExprNode toString(const TableExprNode &node)
Function to convert any value to a string.
TableExprNode operator-() const
TableExprNode sqlpattern(const TableExprNode &node)
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
A hierarchical collection of named fields of various types.
LatticeExprNode operator>(const LatticeExprNode &left, const LatticeExprNode &right)
static TableExprNode newColumnNode(const Table &tab, const String &name, const Vector< String > &fieldNames)
Create a column node on behalf of the Table class.
virtual Origin origin() const =0
ABSTRACT METHODS //.
TableExprNode cmonth(const TableExprNode &node)
TableExprNode operator|(const TableExprNode &left, const TableExprNode &right)
LatticeExprNode atan2(const LatticeExprNode &left, const LatticeExprNode &right)
Numerical 2-argument functions.
TableExprNode integer(const TableExprNode &node)
Convert double, bool, or string to int (using floor).
TableExprNode runningMean(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
TableExprNode findCone(const TableExprNode &sourcePos, const TableExprNode &cones)
The sourcePos can contain multiple sources.
TableExprNode boxedMean(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
TENShPtr newBitXor(const TENShPtr &right) const
TableExprNode nfalses(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode boxedVariance(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
TableExprNode angdist(const TableExprNode &pos1, const TableExprNode &pos2)
Angular distance between positions.
for Int or Double array returning Int or Double
TableExprNode isdefined(const TableExprNode &array)
Function operating on a field resulting in a bool scalar.
TableExprNode boxedRms(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
const Record & attributes() const
Get the attributes of the expression.
LatticeExprNode operator+(const LatticeExprNode &expr)
Global functions operating on a LatticeExprNode.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
LatticeExprNode fmod(const LatticeExprNode &left, const LatticeExprNode &right)
TableExprNode day(const TableExprNode &node)
The identification of a TaQL selection subject.
MArray< Bool > getBoolAS(const TableExprId &id) const
Get a value as an array, even it it is a scalar.
LatticeExprNode asin(const LatticeExprNode &expr)
Array< DComplex > getColumnDComplex(const Vector< uInt > &rownrs) const
TableExprNode cdow(const TableExprNode &node)
TableExprNode boxedMin(const TableExprNode &node, const TableExprNodeSet &halfBoxWidth)
LatticeExprNode mean(const LatticeExprNode &expr)
TENShPtr newEQ(const TENShPtr &right) const
TableExprNode rms(const TableExprNode &array)
TableExprNode runningAvdev(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
Bool checkTableSize(const Table &table, Bool canBeConst) const
Check if tables used in expression have the same number of rows as the given table.
LatticeExprNode sinh(const LatticeExprNode &expr)
for Int, Double or DComplex returning Int or Double
Class to handle a Regex or StringDistance.
LatticeExprNode acos(const LatticeExprNode &expr)
TableExprNode square(const TableExprNode &node)
TableExprNode runningMin(const TableExprNode &array, const TableExprNodeSet &halfBoxWidth)
Functions operating for each element on a box around that element.
MArray< DComplex > getDComplexAS(const TableExprId &id) const
for Bool array returning Bool
static TableExprNode newUDFNode(const String &name, const TableExprNodeSet &set, const Table &table, const TaQLStyle &=TaQLStyle(0))
Create a user defined function node.
TableExprNode sumSquare(const TableExprNode &array)
TableExprNode capitalize(const TableExprNode &node)
LatticeExprNode operator-(const LatticeExprNode &expr)
String: the storage and methods of handling collections of characters.
static TableRecord * findLastKeyRec(const TableRecord &keyset, const Vector< String > &fieldNames, String &fullName)
Handle all field names except the last one.
TableExprNode nearAbs(const TableExprNode &left, const TableExprNode &right)
Array< Int > getColumnInt(const Vector< uInt > &rownrs) const
Bool operator==(const MVTime &lh, const MVTime &rh)
is equal operator, uses operator Double which returns days
static TableExprNode newArrayPartNode(const TableExprNode &arrayNode, const TableExprNodeSet &indices, const TaQLStyle &=TaQLStyle(0))
Create ArrayElement node for the given array with the given index.
TableExprNode stddevs(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TENShPtr newPlus(const TENShPtr &right) const
Construct a new node for the given operation.
TableExprNode datetime(const TableExprNode &node)
Functions for date-values.
LatticeExprNode operator^(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode operator<(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode isNaN(const LatticeExprNode &expr)
Test if a value is a NaN.
Array< String > getColumnString(const Vector< uInt > &rownrs) const
TableExprNode avdevs(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
Class to deal with Levensthein distance of strings.
TableExprNode mjdtodate(const TableExprNode &node)
Bool isNull() const
Does the node contain no actual node?
TableExprNode ctodt(const TableExprNode &node)
static void throwInvDT(const String &message)
Throw invalid data type exception.
LatticeExprNode variance(const LatticeExprNode &expr)
LatticeExprNode ceil(const LatticeExprNode &expr)
TENShPtr newNE(const TENShPtr &right) const
LatticeExprNode pow(const LatticeExprNode &left, const LatticeExprNode &right)
for Int or Double array returning Double
Class to handle date/time type conversions and I/O.
TableExprNode rmss(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
TableExprNode ctime(const TableExprNode &node)
Array< Float > getColumnFloat(const Vector< uInt > &rownrs) const
TableExprNode hms(const TableExprNode &node)
Functions for angle-values.
LatticeExprNode all(const LatticeExprNode &expr)
Bool isScalar() const
Is the expression a scalar?
TableExprNode diagonal(const TableExprNode &array)
Get the diagonal of a (masked) array; If the array is not a Matrix, it will take the diagonals of the...
Array< uChar > getColumnuChar(const Vector< uInt > &rownrs) const
Abstract base class for a node having 0, 1, or 2 child nodes.
TableExprNode operator()(const TableExprNodeSet &indices)
Slicing in a node containing an array.
TableExprNode sums(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
The partial version of the functions above.
LatticeExprNode operator||(const LatticeExprNode &left, const LatticeExprNode &right)
TENShPtr newBitAnd(const TENShPtr &right) const
LatticeExprNode cosh(const LatticeExprNode &expr)
TableExprNode week(const TableExprNode &node)
TableExprNode hdms(const TableExprNode &node)
LatticeExprNode real(const LatticeExprNode &expr)
Int64 getInt(const TableExprId &id) const
const TENShPtr & getRep() const
returns const pointer to the underlying TableExprNodeRep object.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
LatticeExprNode sin(const LatticeExprNode &expr)
Numerical 1-argument functions.
for Int, Double, DComplex, Bool or String returning Double
static TableExprNode newConeNode(TableExprFuncNode::FunctionType, const TableExprNodeSet &set, uInt origin=0)
Create cone function node of the given type with the given arguments.
LatticeExprNode operator&&(const LatticeExprNode &left, const LatticeExprNode &right)
Logical binary operators.
TableExprNode norm(const TableExprNode &node)
Array< Bool > getColumnBool(const Vector< uInt > &rownrs) const
Get the value of the expression evaluated for the entire column.
TableExprNode date(const TableExprNode &node)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
TableExprNode amplitude(const TableExprNode &node)
The amplitude (i.e.