DenseBlockLInt64 (Apache SystemDS 3.4.0-SNAPSHOT API)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.data.DenseBlock
DenseBlock.Type
-
-
Field Summary
-
Fields inherited from class org.apache.sysds.runtime.data.DenseBlockLDRB
MAX_ALLOC
-
-
Constructor Summary
Constructors Constructor Description DenseBlockLInt64(int[] dims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcapacity()Get the total length of allocated blocks.
voidfillBlock(int bix, int fromIndex, int toIndex, double v)Fill a certain range of elements of a block.
voidfillRow(int r, double v)Fill the DenseBlock row index with the value specified.
doubleget(int[] ix)Get the value of a given cell
doubleget(int r, int c)Get the value for a given row and column.
longgetLong(int[] ix)Get the value of a given cell as long
StringgetString(int[] ix)Get the value of a given cell as a String
voidincr(int r, int c)Increments the given value for a given row and column.
voidincr(int r, int c, double delta)Increments the given value for a given row and column by delta.
booleanisContiguous()Indicates if the dense block has a single underlying block, i.e., if numBlocks==1.
booleanisNumeric()Indicates if the dense block is numeric.
booleanisNumeric(Types.ValueType vt)Indicates if the dense block is a specific numeric value type.
intnumBlocks()Get the number of allocated blocks.
DenseBlockset(int[] ix, double v)Set the specified cell to the given value.
DenseBlockset(int[] ix, long v)Set the specified cell to the given value.
DenseBlockset(int[] ix, String v)Set the specified cell to the given value.
DenseBlockset(int r, int c, double v)Set the given value for a given row and column.
double[]values(int r)Get the allocated block for the given row.
double[]valuesAt(int bix)Get an allocated block.
-
Methods inherited from class org.apache.sysds.runtime.data.DenseBlockLDRB
blockSize, blockSize, countNonZeros, countNonZeros, countNonZeros, index, isContiguous, pos, pos, pos, reset, resetNoFill, set, set, set, set, size
-
Methods inherited from class org.apache.sysds.runtime.data.DenseBlock
contains, contains, contains, equals, equals, estimateMemory, fill, getCumODims, getDim, getNextIndexes, numCols, numDims, numRows, reset, reset, reset, reset, reset, reset, resetNoFill, set, set, set, set, setDims, size, toString
-
-