public class BooleanIndexing extends Object
| Constructor and Description |
|---|
BooleanIndexing() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
and(IComplexNDArray n,
Condition cond)
And
|
static boolean |
and(INDArray n,
Condition cond)
And over the whole ndarray given some condition
|
static void |
applyWhere(IComplexNDArray to,
Condition condition,
com.google.common.base.Function<IComplexNumber,IComplexNumber> function)
Based on the matching elements
op to based on condition to with function function
|
static void |
applyWhere(INDArray to,
Condition condition,
com.google.common.base.Function<Number,Number> function)
Based on the matching elements
op to based on condition to with function function
|
static void |
applyWhere(INDArray to,
Condition condition,
com.google.common.base.Function<Number,Number> function,
com.google.common.base.Function<Number,Number> alternativeFunction)
Based on the matching elements
op to based on condition to with function function
|
static boolean |
or(IComplexNDArray n,
Condition cond)
Or over the whole ndarray given some condition
|
static boolean |
or(INDArray n,
Condition cond)
Or over the whole ndarray given some condition
|
public static boolean and(IComplexNDArray n, Condition cond)
n - cond - public static boolean or(IComplexNDArray n, Condition cond)
n - cond - public static boolean and(INDArray n, Condition cond)
n - the ndarray to testcond - the condition to test againstpublic static boolean or(INDArray n, Condition cond)
n - cond - public static void applyWhere(INDArray to, Condition condition, com.google.common.base.Function<Number,Number> function)
to - the ndarray to opcondition - the condition on opfunction - the function to apply the op topublic static void applyWhere(INDArray to, Condition condition, com.google.common.base.Function<Number,Number> function, com.google.common.base.Function<Number,Number> alternativeFunction)
to - the ndarray to opcondition - the condition on opfunction - the function to apply the op topublic static void applyWhere(IComplexNDArray to, Condition condition, com.google.common.base.Function<IComplexNumber,IComplexNumber> function)
to - the ndarray to opcondition - the condition on opfunction - the function to apply the op toCopyright © 2016. All Rights Reserved.