Package org.ojalgo.function.special
Class PowerOf2.IntPower
java.lang.Object
org.ojalgo.function.special.PowerOf2
org.ojalgo.function.special.PowerOf2.IntPower
- Enclosing class:
PowerOf2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.function.special.PowerOf2
PowerOf2.IntPower, PowerOf2.LongPower
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ojalgo.function.special.PowerOf2
adjustDown, adjustDown, adjustUp, adjustUp, exponent, find, find, getIntPower, getLongPower, isPowerOf2, isPowerOf2, largestNotGreaterThan, largestNotGreaterThan, powerOf2Larger, powerOf2Larger, powerOf2Smaller, powerOf2Smaller, powerOfInt2, powerOfLong2, smallestNotLessThan, smallestNotLessThan
-
Field Details
-
value
public final int value -
myModuloMask
private final int myModuloMask
-
-
Constructor Details
-
IntPower
IntPower(int exp)
-
-
Method Details
-
divide
public int divide(int dividend) -
getModuloMask
public int getModuloMask() -
modulo
public int modulo(int dividend)
-