com.apama.md.adapter
Event MathUtil



Action Summary
 floatadd(float f1, float f2)
 floatcalcGradient(integer initalPrice, integer finalPrice, float timeDiff)
 floatcalcRatio(float part, float total)
 floatcalcRatioInteger(integer part, integer total)
 floatdivide(float f1, float f2)
 floatgetMultiplier(float value)
 floatmultiply(float f1, float f2)
 floatsubtract(float f1, float f2)
 
Action Detail

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