Package org.apfloat.aparapi
Class RangeHelper
- java.lang.Object
-
- org.apfloat.aparapi.RangeHelper
-
class RangeHelper extends java.lang.ObjectRange helper methods.- Since:
- 1.11.0
-
-
Field Summary
Fields Modifier and Type Field Description private static intMAX_LOCAL_SIZE
-
Constructor Summary
Constructors Modifier Constructor Description privateRangeHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.aparapi.Rangecreate(int size)Creates a one-dimensional range with the maximum local size.static com.aparapi.Rangecreate2D(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.
-
-