Pow
'''Warning:''' Unlike a normal power operation, the signum of the
left operand is always preserved. I.e. DC.kr(-0.5).pow(2)
will
not output 0.25
but -0.25
. This is to avoid problems with
floating point noise and negative input numbers, so
DC.kr(-0.5).pow(2.001)
does not result in a NaN
, for example.
Type members
Inherited types
Value members
Concrete methods
Inherited methods
Whether the operator should be written in infix position.
For example, Lcm
is '''not''' in prefix position, you would write
a.lcm(b)
, whereas Plus
is prefix position, as you would write
a + b
.
Whether the operator should be written in infix position.
For example, Lcm
is '''not''' in prefix position, you would write
a.lcm(b)
, whereas Plus
is prefix position, as you would write
a + b
.
- Inherited from
- Op
The name one would call on GEOps
to obtain this operator.
For example, for Times
this would be *
.
The name one would call on GEOps
to obtain this operator.
For example, for Times
this would be *
.
- Inherited from
- Op