public class RightScalarOperator extends ScalarOperator
fnsparseSafe| Constructor and Description |
|---|
RightScalarOperator(ValueFunction p,
double cst) |
RightScalarOperator(ValueFunction p,
double cst,
int numThreads) |
| Modifier and Type | Method and Description |
|---|---|
double |
executeScalar(double in)
Apply the scalar operator over a given input value.
|
ScalarOperator |
setConstant(double cst) |
ScalarOperator |
setConstant(double cst,
int numThreads) |
getConstant, getNumThreadspublic RightScalarOperator(ValueFunction p, double cst)
public RightScalarOperator(ValueFunction p, double cst, int numThreads)
public ScalarOperator setConstant(double cst)
setConstant in class ScalarOperatorpublic ScalarOperator setConstant(double cst, int numThreads)
setConstant in class ScalarOperatorpublic double executeScalar(double in)
ScalarOperatorexecuteScalar in class ScalarOperatorin - input valueCopyright © 2020 The Apache Software Foundation. All rights reserved.