com.apama.md.adapter
Event MathUtil
add
float add(float f1, float f2)
-
Parameters:
-
f1
-
f2
calcGradient
float calcGradient(integer initalPrice, integer finalPrice, float timeDiff)
-
Parameters:
-
initalPrice
-
finalPrice
-
timeDiff
calcRatio
float calcRatio(float part, float total)
-
Parameters:
-
part
-
total
calcRatioInteger
float calcRatioInteger(integer part, integer total)
-
Parameters:
-
part
-
total
divide
float divide(float f1, float f2)
-
Parameters:
-
f1
-
f2
getMultiplier
float getMultiplier(float value)
-
Parameters:
-
value
multiply
float multiply(float f1, float f2)
-
Parameters:
-
f1
-
f2
subtract
float subtract(float f1, float f2)
-
Parameters:
-
f1
-
f2