Go to the documentation of this file.
28 #ifndef CASA_ARRAYOPSDIFFSHAPES_H
29 #define CASA_ARRAYOPSDIFFSHAPES_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Arrays/ArrayMath.h>
33 #include <casacore/casa/Arrays/ArrayLogical.h>
35 #include <casacore/casa/Arrays/IPosition.h>
111 template<
typename L,
typename R,
typename BinaryOperator>
118 #ifndef CASACORE_NO_AUTO_TEMPLATES
119 #include <casacore/casa/Arrays/ArrayOpsDiffShapes.tcc>
120 #endif //# CASACORE_NO_AUTO_TEMPLATES
void binOpExpandInPlace(Array< L > &left, const Array< R > &right, BinaryOperator op)
Apply op elementwise to left and right, replicating elements of right as necessary (see example above...
A Vector of integers, for indexing into Array<T> objects.
Bool rightExpandableToLeft(const IPosition &leftShape, const IPosition &rightShape)
Can arrays left and right with respective shapes leftShape and rightShape be used in function(left,...
this file contains all the compiler specific defines
LogicalArray reformedMask(const Array< T > &data, const T truthvalue, const IPosition &desiredform)
Returns a LogicalArray with elements (at pos) set to (data(pos) == truthvalue).
template <class T, class U> class vector;
Operations for 2 Arrays with possibly different shapes.
bool Bool
Define the standard types used by Casacore.