Package org.apache.sysds.runtime.util
Class IndexRange
- java.lang.Object
-
- org.apache.sysds.runtime.util.IndexRange
-
- All Implemented Interfaces:
Serializable
public class IndexRange extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexRange(long rs, long re, long cs, long ce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRange
add(int delta)
long
colSpan()
boolean
inColRange(long col)
boolean
inRowRange(long row)
boolean
isScalar()
long
rowSpan()
void
set(long rs, long re, long cs, long ce)
String
toString()
-
-
-
Method Detail
-
set
public void set(long rs, long re, long cs, long ce)
-
isScalar
public boolean isScalar()
-
add
public IndexRange add(int delta)
-
inColRange
public boolean inColRange(long col)
-
inRowRange
public boolean inRowRange(long row)
-
colSpan
public long colSpan()
-
rowSpan
public long rowSpan()
-
-