Class NumBinaryOperations
java.lang.Object
trade.invision.indicators.indicators.operation.binary.NumBinaryOperations
NumBinaryOperations provides convenience static methods for creating Num BinaryOperation
Indicators.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhypotenuse(Indicator<Num> x, Indicator<Num> y) Creates aNumIndicatorthat invokes theNum.hypotenuse(Num)binary operation on the given operands.inverseTangent2(Indicator<Num> y, Indicator<Num> x) Creates aNumIndicatorthat invokes theNum.inverseTangent2(Num)binary operation on the given operands.Creates aBooleanIndicatorthat performs theNum.isEqual(Num, Num)binary comparison using the given inputs.isGreaterThan(Indicator<Num> left, Indicator<Num> right) Creates aBooleanIndicatorthat performs theNum.isGreaterThan(Num)binary comparison using the given inputs.isGreaterThanOrEqual(Indicator<Num> left, Indicator<Num> right) Creates aBooleanIndicatorthat performs theNum.isGreaterThanOrEqual(Num, Num)binary comparison using the given inputs.isLessThan(Indicator<Num> left, Indicator<Num> right) Creates aBooleanIndicatorthat performs theNum.isLessThan(Num)binary comparison using the given inputs.isLessThanOrEqual(Indicator<Num> left, Indicator<Num> right) Creates aBooleanIndicatorthat performs theNum.isLessThanOrEqual(Num, Num)binary comparison using the given inputs.
-
Constructor Details
-
NumBinaryOperations
public NumBinaryOperations()
-
-
Method Details
-
add
-
subtract
-
multiply
-
divide
-
remainder
-
power
-
nthRoot
-
logarithm
-
inverseTangent2
Creates aNumIndicatorthat invokes theNum.inverseTangent2(Num)binary operation on the given operands. -
hypotenuse
Creates aNumIndicatorthat invokes theNum.hypotenuse(Num)binary operation on the given operands. -
average
-
minimum
-
maximum
-
ifNaN
-
isEqual
Creates aBooleanIndicatorthat performs theNum.isEqual(Num, Num)binary comparison using the given inputs. -
isLessThan
Creates aBooleanIndicatorthat performs theNum.isLessThan(Num)binary comparison using the given inputs. -
isLessThanOrEqual
Creates aBooleanIndicatorthat performs theNum.isLessThanOrEqual(Num, Num)binary comparison using the given inputs. -
isGreaterThan
Creates aBooleanIndicatorthat performs theNum.isGreaterThan(Num)binary comparison using the given inputs. -
isGreaterThanOrEqual
Creates aBooleanIndicatorthat performs theNum.isGreaterThanOrEqual(Num, Num)binary comparison using the given inputs.
-