Computes x^power given that power is an integer
x^power
power
If power is an Interval it must be a singletonInterval i.e. x^x is not supported yet
x^x
If power is a rational number use nthRoot instead
// 2^{-2}Interval.pow( Interval(2, 2), -2) // Interval(1/4, 1/4)// [2,3]^2Interval.pow( Interval(2, 3), 2) // Interval(4, 9)// [2,3]^0Interval.pow( Interval(2, 3), 0) // Interval(1, 1)// with a singleton intervalInterval.pow( Interval(2, 3), Interval(2)) // Interval(4, 9)
A number of a singleton interval
Generated using TypeDoc
Computes
x^power
given thatpower
is an integerIf
power
is an Interval it must be a singletonInterval i.e.x^x
is not supported yetIf
power
is a rational number use nthRoot insteadExample
Returns