DenseBlockFP64 (Apache SystemDS 3.4.0-SNAPSHOT API)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.data.DenseBlock
DenseBlock.Type
-
-
Constructor Summary
Constructors Constructor Description DenseBlockFP64(int[] dims)DenseBlockFP64(int[] dims, double[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcapacity()Get the total length of allocated blocks.
static doubleestimateMemory(long nrows, long ncols)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.
intindex(int r)Get the block index for a given row.
booleanisNumeric()Indicates if the dense block is numeric.
booleanisNumeric(Types.ValueType vt)Indicates if the dense block is a specific numeric value type.
intpos(int r)Get the position for a given row within its associated block.
intpos(int r, int c)Get the position for a given row and column within the associated block.
voidreset(int rlen, int[] odims, double v)Resets the dense block by setting the given value.
voidresetNoFill(int rlen, int[] odims)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, double[] v)Copy the given vector into the given row.
DenseBlockset(int r, int c, double v)Set the given value for a given row and column.
DenseBlockset(int rl, int ru, int ol, int ou, DenseBlock db)Copy the given dense block into the specified index range.
DenseBlockset(DenseBlock db)Copy the given dense block.
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.DenseBlockDRB
blockSize, blockSize, countNonZeros, countNonZeros, countNonZeros, isContiguous, isContiguous, numBlocks, pos, set, set, size
-
-