Package org.apfloat.aparapi
Class RangeHelper
- java.lang.Object
-
- org.apfloat.aparapi.RangeHelper
-
class RangeHelper extends java.lang.Object
Range helper methods.- Since:
- 1.11.0
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_LOCAL_SIZE
-
Constructor Summary
Constructors Modifier Constructor Description private
RangeHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.aparapi.Range
create(int size)
Creates a one-dimensional range with the maximum local size.static com.aparapi.Range
create2D(int width, int height)
Creates a two-dimensional range with the maximum local sizes.
-
-
-
Field Detail
-
MAX_LOCAL_SIZE
private static final int MAX_LOCAL_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static com.aparapi.Range create(int size)
Creates a one-dimensional range with the maximum local size.- Parameters:
size
- The size.- Returns:
- The range.
-
create2D
public static com.aparapi.Range create2D(int width, int height)
Creates a two-dimensional range with the maximum local sizes.- Parameters:
width
- Size of the first dimension.height
- Size of the second dimension.- Returns:
- The range.
-
-