Real
Real is found in com.stripe.rainier.compute.
Instance methods
Arithmetic: +, -, *, /, pow(exponent: Real)
Unary: -, abs, exp, log, logit, logistic
Comparison: min, max
Trigonometry: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh
Object methods
Construct with Real(a) for any numeric value a.
Constants: zero, one, two, negOne, Pi, infinity, negInfinity
Control flow:
eq(left: Real, right: Real, ifTrue: Real, ifFalse: Real): Reallt(left: Real, right: Real, ifTrue: Real, ifFalse: Real): Realgt(left: Real, right: Real, ifTrue: Real, ifFalse: Real): Reallte(left: Real, right: Real, ifTrue: Real, ifFalse: Real): Realgte(left: Real, right: Real, ifTrue: Real, ifFalse: Real): Real
Summation:
sum(seq: Iterable[Real]): ReallogSumExp(seq: Iterable[Real]): Real