77 bool isNumber()
const {
return ( mColumns == 1 && mRows == 1 ); }
78 double number()
const {
return mData[0]; }
92 void setData(
int cols,
int rows,
double *data,
double nodataValue );
94 int nColumns()
const {
return mColumns; }
95 int nRows()
const {
return mRows; }
147 bool absoluteValue();
152 double *mData =
nullptr;
153 double mNodataValue = -1;
156 bool twoArgumentOperation( TwoArgOperator op,
const QgsRasterMatrix &other );
157 double calculateTwoArgumentOp( TwoArgOperator op,
double arg1,
double arg2 )
const;
160 bool oneArgumentOperation( OneArgOperator op );
161 bool testPowerValidity(
double base,
double power )
const;