public class OpsParl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
OpsParl.BinaryOp
BinaryOps are operations such as add, pow, atan2
|
Modifier and Type | Method and Description |
---|---|
static MutablePropertyDataSet |
applyBinaryOp(QDataSet ds1,
QDataSet ds2,
OpsParl.BinaryOp op)
apply the binary operator element-for-element of the two datasets, minding
dataset geometry, fill values, etc.
|
static MutablePropertyDataSet |
applyBinaryOpNoIter(QDataSet ds1,
QDataSet ds2,
OpsParl.BinaryOp op)
apply the binary operator element-for-element of the two datasets, minding
dataset geometry, fill values, etc.
|
static MutablePropertyDataSet |
applyBinaryOpParl(QDataSet ds1,
QDataSet ds2,
OpsParl.BinaryOp op)
apply the binary operator element-for-element of the two datasets, minding
dataset geometry, fill values, etc.
|
static QDataSet |
eq_noiter(QDataSet ds1,
QDataSet ds2)
element-wise equality test.
|
static QDataSet |
eq_parl(QDataSet ds1,
QDataSet ds2)
element-wise equality test.
|
static QDataSet |
eq(QDataSet ds1,
QDataSet ds2)
element-wise equality test.
|
public static MutablePropertyDataSet applyBinaryOp(QDataSet ds1, QDataSet ds2, OpsParl.BinaryOp op)
ds1
- the first argumentds2
- the second argumentop
- binary operation for each pair of elementspublic static QDataSet eq(QDataSet ds1, QDataSet ds2)
ds1
- rank n datasetds2
- rank m dataset with compatible geometry.public static MutablePropertyDataSet applyBinaryOpNoIter(QDataSet ds1, QDataSet ds2, OpsParl.BinaryOp op)
ds1
- the first argumentds2
- the second argumentop
- binary operation for each pair of elementspublic static QDataSet eq_noiter(QDataSet ds1, QDataSet ds2)
ds1
- rank n datasetds2
- rank m dataset with compatible geometry.public static MutablePropertyDataSet applyBinaryOpParl(QDataSet ds1, QDataSet ds2, OpsParl.BinaryOp op)
ds1
- the first argumentds2
- the second argumentop
- binary operation for each pair of elementspublic static QDataSet eq_parl(QDataSet ds1, QDataSet ds2)
ds1
- rank n datasetds2
- rank m dataset with compatible geometry.