78 bool isNumber()
const {
return ( mColumns == 1 && mRows == 1 ); }
79 double number()
const {
return mData[0]; }
93 void setData(
int cols,
int rows,
double *data,
double nodataValue );
95 int nColumns()
const {
return mColumns; }
96 int nRows()
const {
return mRows; }
148 bool absoluteValue();
153 double *mData =
nullptr;
154 double mNodataValue = -1;
157 bool twoArgumentOperation( TwoArgOperator op,
const QgsRasterMatrix &other );
158 double calculateTwoArgumentOp( TwoArgOperator op,
double arg1,
double arg2 )
const;
161 bool oneArgumentOperation( OneArgOperator op );
162 bool testPowerValidity(
double base,
double power )
const;