28 #ifndef CASA_ARRAYOPSDIFFSHAPES_2_H
29 #define CASA_ARRAYOPSDIFFSHAPES_2_H
86 template<
typename T,
typename Alloc>
107 template<
typename L,
typename AllocL,
typename R,
typename AllocR,
typename BinaryOperator>
114 #include "ArrayOpsDiffShapes.tcc"
this file contains all the compiler specific defines
bool rightExpandableToLeft(const IPosition &leftShape, const IPosition &rightShape)
Can arrays left and right with respective shapes leftShape and rightShape be used in function(left,...
LogicalArray reformedMask(const Array< T, Alloc > &data, const T truthvalue, const IPosition &desiredform)
Returns a LogicalArray with elements (at pos) set to (data(pos) == truthvalue).
void binOpExpandInPlace(Array< L, AllocL > &left, const Array< R, AllocR > &right, BinaryOperator op)
Apply op elementwise to left and right, replicating elements of right as necessary (see example above...