Class SlicingExpression
- java.lang.Object
-
- io.github.hakkelt.ndarrays.internal.SlicingExpression
-
public class SlicingExpression extends Object
-
-
Constructor Summary
Constructors Constructor Description SlicingExpression(int[] parentDims, NormalizedRange[] expressions)
SlicingExpression(int[] parentDims, Range[] expressions)
SlicingExpression(SlicingExpression prevSlicingExpression, NormalizedRange[] expressions)
SlicingExpression(SlicingExpression prevSlicingExpression, Range[] expressions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
NormalizedRange[]
getExpressions()
int
hashCode()
int[]
resolveToParentIndices(int[] viewIndices)
int[]
resolveViewDims()
String
toString()
static String
toString(Range[] expressions)
-
-
-
Constructor Detail
-
SlicingExpression
public SlicingExpression(int[] parentDims, Range[] expressions)
-
SlicingExpression
public SlicingExpression(int[] parentDims, NormalizedRange[] expressions)
-
SlicingExpression
public SlicingExpression(SlicingExpression prevSlicingExpression, NormalizedRange[] expressions)
-
SlicingExpression
public SlicingExpression(SlicingExpression prevSlicingExpression, Range[] expressions)
-
-
Method Detail
-
getExpressions
public NormalizedRange[] getExpressions()
-
resolveViewDims
public int[] resolveViewDims()
-
resolveToParentIndices
public int[] resolveToParentIndices(int[] viewIndices)
-
-