mikera.vectorz.ops
Class ComposedOp2
- java.lang.Object
-
- mikera.vectorz.Op2
-
- mikera.vectorz.ops.ComposedOp2
-
public class ComposedOp2 extends Op2
Class representing a composed operation of the form z = f(x,g(y))
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleapply(double x, double y)voidapplyTo(double[] data, int start, int length, AVector b)voidapplyTo(double[] data, int start, int length, double b)doubleaverageValue()static ComposedOp2compose(Op2 outer, Op inner)static ComposedOp2create(Op2 a, Op b)booleanisBounded()booleanisStochastic()Returns true if the operator is stochastic, i.e returns random values for at least some inputsdoublemaxValue()doubleminValue()java.lang.StringtoString()-
Methods inherited from class mikera.vectorz.Op2
applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, constrainValues, getDerivative, reduce, reduce, reduceZeros, reduceZeros, validateOutput
-
-
-
-
Method Detail
-
compose
public static ComposedOp2 compose(Op2 outer, Op inner)
-
create
public static ComposedOp2 create(Op2 a, Op b)
-
applyTo
public void applyTo(double[] data, int start, int length, AVector b)
-
applyTo
public void applyTo(double[] data, int start, int length, double b)
-
isStochastic
public boolean isStochastic()
Description copied from class:Op2Returns true if the operator is stochastic, i.e returns random values for at least some inputs- Overrides:
isStochasticin classOp2- Returns:
-
averageValue
public double averageValue()
- Overrides:
averageValuein classOp2
-
-
DMelt 3.0 © DataMelt by jWork.ORG