# Uses of Class
org.apache.sysds.runtime.data.DenseBlock

Packages that use DenseBlock
Package
Description
org.apache.sysds.runtime.codegen
org.apache.sysds.runtime.compress
org.apache.sysds.runtime.compress.colgroup
org.apache.sysds.runtime.compress.colgroup.dictionary
org.apache.sysds.runtime.compress.colgroup.mapping
org.apache.sysds.runtime.compress.colgroup.offset
org.apache.sysds.runtime.data
org.apache.sysds.runtime.matrix.data
org.apache.sysds.runtime.util

## Uses of DenseBlock in org.apache.sysds.runtime.codegen

Fields in org.apache.sysds.runtime.codegen declared as DenseBlock
Modifier and Type
Field
Description
`final DenseBlock`
SpoofOperator.SideInput.`ddat`
Methods in org.apache.sysds.runtime.codegen that return DenseBlock
Modifier and Type
Method
Description
`static DenseBlock[]`
SpoofOperator.`getDenseMatrices(SpoofOperator.SideInput[] inputs)`
Constructors in org.apache.sysds.runtime.codegen with parameters of type DenseBlock
Modifier
Constructor
Description
``
`SideInput(DenseBlock ddata, MatrixBlock mdata, int clength)`

## Uses of DenseBlock in org.apache.sysds.runtime.compress

Methods in org.apache.sysds.runtime.compress that return DenseBlock
Modifier and Type
Method
Description
`DenseBlock`
CompressedMatrixBlock.`getDenseBlock()`
Methods in org.apache.sysds.runtime.compress with parameters of type DenseBlock
Modifier and Type
Method
Description
`void`
CompressedMatrixBlock.`setDenseBlock(DenseBlock dblock)`

## Uses of DenseBlock in org.apache.sysds.runtime.compress.colgroup

Methods in org.apache.sysds.runtime.compress.colgroup with parameters of type DenseBlock
Modifier and Type
Method
Description
`final void`
AColGroup.`decompressToDenseBlock(DenseBlock db, int rl, int ru)`
Decompress a range of rows into a dense block
`abstract void`
AColGroup.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC)`
Decompress into the DenseBlock.
`final void`
ADictBasedColGroup.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC)`
`void`
ASDCZero.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC, AIterator it)`
`void`
ColGroupEmpty.`decompressToDenseBlock(DenseBlock target, int rl, int ru, int offR, int offC)`
`void`
ColGroupLinearFunctional.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC)`
`void`
ColGroupUncompressed.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC)`
`void`
ColGroupUncompressedArray.`decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC)`
`void`
ASDCZero.`decompressToDenseBlockDenseDictionary(DenseBlock db, int rl, int ru, int offR, int offC, AIterator it)`
`abstract void`
ASDCZero.`decompressToDenseBlockDenseDictionaryWithProvidedIterator(DenseBlock db, int rl, int ru, int offR, int offC, double[] values, AIterator it)`
`void`
ColGroupSDCSingleZeros.`decompressToDenseBlockDenseDictionaryWithProvidedIterator(DenseBlock db, int rl, int ru, int offR, int offC, double[] values, AIterator it)`
`final void`
ColGroupSDCZeros.`decompressToDenseBlockDenseDictionaryWithProvidedIterator(DenseBlock db, int rl, int ru, int offR, int offC, double[] values, AIterator it)`
`abstract void`
AColGroup.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`
Decompress a range of rows into a dense transposed block.
`final void`
ADictBasedColGroup.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`
`void`
ColGroupEmpty.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`
`void`
ColGroupLinearFunctional.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`
`void`
ColGroupUncompressed.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`
`void`
ColGroupUncompressedArray.`decompressToDenseBlockTransposed(DenseBlock db, int rl, int ru)`

## Uses of DenseBlock in org.apache.sysds.runtime.compress.colgroup.dictionary

Methods in org.apache.sysds.runtime.compress.colgroup.dictionary with parameters of type DenseBlock
Modifier and Type
Method
Description
`void`
ADictionary.`putDense(DenseBlock dr, int idx, int rowOut, int nCol, IColIndex columns)`
`void`
IDictionary.`putDense(DenseBlock db, int idx, int rowOut, int nCol, IColIndex columns)`
Put the row specified into the sparse block, via append calls.

## Uses of DenseBlock in org.apache.sysds.runtime.compress.colgroup.mapping

Methods in org.apache.sysds.runtime.compress.colgroup.mapping with parameters of type DenseBlock
Modifier and Type
Method
Description
`void`
AMapToData.`lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict)`
`void`
MapToByte.`lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict)`
`void`
MapToChar.`lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict)`
`void`
MapToCharPByte.`lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict)`
`final void`
AMapToData.`preAggregateDense(DenseBlock m, double[] preAV, int rl, int ru, int cl, int cu, AOffset indexes)`
PreAggregate a Dense Matrix at index offsets.

## Uses of DenseBlock in org.apache.sysds.runtime.compress.colgroup.offset

Methods in org.apache.sysds.runtime.compress.colgroup.offset with parameters of type DenseBlock
Modifier and Type
Method
Description
`final void`
AOffset.`preAggregateDenseMap(DenseBlock db, double[] preAV, int rl, int ru, int cl, int cu, int nVal, AMapToData data)`
Pre aggregate the specified row and block range from a dense MatrixBlock to prepare for compressed multiplication.

## Uses of DenseBlock in org.apache.sysds.runtime.data

Subclasses of DenseBlock in org.apache.sysds.runtime.data
Modifier and Type
Class
Description
`class`
`DenseBlockBool`
`class`
`DenseBlockDRB`
`class`
`DenseBlockFP32`
`class`
`DenseBlockFP64`
`class`
`DenseBlockFP64DEDUP`
`class`
`DenseBlockInt32`
`class`
`DenseBlockInt64`
`class`
`DenseBlockLBool`
`class`
`DenseBlockLDRB`
Dense Large Row Blocks have multiple 1D arrays (blocks), which contain complete rows.
`class`
`DenseBlockLFP32`
`class`
`DenseBlockLFP64`
`class`
`DenseBlockLFP64DEDUP`
`class`
`DenseBlockLInt32`
`class`
`DenseBlockLInt64`
`class`
`DenseBlockLString`
`class`
`DenseBlockString`
Methods in org.apache.sysds.runtime.data that return DenseBlock
Modifier and Type
Method
Description
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(double[] data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(double[] data, int rlen, int clen)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(float[] data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(float[] data, int rlen, int clen)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(int[] dims, boolean dedup)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(int[] data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(int rlen, int clen)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(int rlen, int clen, boolean dedup)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(long[] data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(String[] data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(BitSet data, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(Types.ValueType vt, int[] dims)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(Types.ValueType vt, int[] dims, boolean dedup)`
`static DenseBlock`
DenseBlockFactory.`createDenseBlock(Types.ValueType vt, DenseBlock.Type type, int[] dims, boolean dedup)`
`DenseBlock`
BasicTensorBlock.`getDenseBlock()`
`abstract DenseBlock`
DenseBlock.`set(double v)`
Set the given value for the entire dense block (fill).
`abstract DenseBlock`
DenseBlock.`set(int[] ix, double v)`
Set the specified cell to the given value.
`abstract DenseBlock`
DenseBlock.`set(int[] ix, long v)`
Set the specified cell to the given value.
`abstract DenseBlock`
DenseBlock.`set(int[] ix, String v)`
Set the specified cell to the given value.
`abstract DenseBlock`
DenseBlock.`set(int r, double[] v)`
Copy the given vector into the given row.
`abstract DenseBlock`
DenseBlock.`set(int r, int c, double v)`
Set the given value for a given row and column.
`abstract DenseBlock`
DenseBlock.`set(int rl, int ru, int cl, int cu, double v)`
Set the given value for an entire index range of the dense block (fill).
`DenseBlock`
DenseBlock.`set(int rl, int ru, int cl, int cu, DenseBlock db)`
Copy the given dense block into the specified index range.
`DenseBlock`
DenseBlock.`set(int r, KahanObject kbuff)`
Copy the given kahan object sum and correction into the given row.
`DenseBlock`
DenseBlock.`set(String s)`
Set the given string for the entire dense block (fill).
`abstract DenseBlock`
DenseBlock.`set(DenseBlock db)`
Copy the given dense block.
`DenseBlock`
DenseBlock.`set(KahanObject kbuff)`
Copy the given kahan object sum and correction.
`DenseBlock`
DenseBlockBool.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockBool.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockBool.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockBool.`set(int r, double[] v)`
`DenseBlock`
DenseBlockBool.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockBool.`set(int rl, int ru, int cl, int cu, DenseBlock db)`
`DenseBlock`
DenseBlockBool.`set(String s)`
`DenseBlock`
DenseBlockBool.`set(DenseBlock db)`
`DenseBlock`
DenseBlockDRB.`set(double v)`
`DenseBlock`
DenseBlockDRB.`set(int rl, int ru, int cl, int cu, double v)`
`DenseBlock`
DenseBlockFP32.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockFP32.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockFP32.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockFP32.`set(int r, double[] v)`
`DenseBlock`
DenseBlockFP32.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockFP32.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockFP64.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockFP64.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockFP64.`set(int r, double[] v)`
`DenseBlock`
DenseBlockFP64.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockFP64.`set(int rl, int ru, int ol, int ou, DenseBlock db)`
`DenseBlock`
DenseBlockFP64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int r, double[] v)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int rl, int ru, int ol, int ou, DenseBlock db)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(DenseBlock db)`
`DenseBlock`
DenseBlockInt32.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockInt32.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockInt32.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockInt32.`set(int r, double[] v)`
`DenseBlock`
DenseBlockInt32.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockInt32.`set(DenseBlock db)`
`DenseBlock`
DenseBlockInt64.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockInt64.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockInt64.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockInt64.`set(int r, double[] v)`
`DenseBlock`
DenseBlockInt64.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockInt64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLBool.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLBool.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLBool.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLBool.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLBool.`set(String s)`
`DenseBlock`
DenseBlockLDRB.`set(double v)`
`DenseBlock`
DenseBlockLDRB.`set(int r, double[] v)`
`DenseBlock`
DenseBlockLDRB.`set(int rl, int ru, int cl, int cu, double v)`
`DenseBlock`
DenseBlockLDRB.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLFP32.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLFP32.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLFP32.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLFP32.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLFP64.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLFP64.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLFP64.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLFP64.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLFP64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(int r, double[] v)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLInt32.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLInt32.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLInt32.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLInt32.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLInt64.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLInt64.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLInt64.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLInt64.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLString.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockLString.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockLString.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockLString.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockLString.`set(String s)`
`DenseBlock`
DenseBlockLString.`set(DenseBlock db)`
`DenseBlock`
DenseBlockString.`set(int[] ix, double v)`
`DenseBlock`
DenseBlockString.`set(int[] ix, long v)`
`DenseBlock`
DenseBlockString.`set(int[] ix, String v)`
`DenseBlock`
DenseBlockString.`set(int r, double[] v)`
`DenseBlock`
DenseBlockString.`set(int r, int c, double v)`
`DenseBlock`
DenseBlockString.`set(String s)`
`DenseBlock`
DenseBlockString.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64DEDUP.`setDedupDirectly(int r, double[] v)`
`DenseBlock`
DenseBlockFP64.`setPartialCol(DenseBlock col, int cIdx, int srcOffset, int destOffset, int length)`
`DenseBlock`
DenseBlockFP64.`setPartialRow(DenseBlock row, int rIdx, int srcOffset, int destOffset, int length)`
Methods in org.apache.sysds.runtime.data with parameters of type DenseBlock
Modifier and Type
Method
Description
`boolean`
DenseBlock.`equals(DenseBlock o, double eps)`
Verify if the values in this dense block is equivalent to that dense block, not taking into account the dimensions of the contained values.
`static DenseBlock.Type`
DenseBlockFactory.`getDenseBlockType(DenseBlock dblock)`
`static boolean`
DenseBlockFactory.`isDenseBlockType(DenseBlock sblock, DenseBlock.Type type)`
`DenseBlock`
DenseBlock.`set(int rl, int ru, int cl, int cu, DenseBlock db)`
Copy the given dense block into the specified index range.
`abstract DenseBlock`
DenseBlock.`set(DenseBlock db)`
Copy the given dense block.
`DenseBlock`
DenseBlockBool.`set(int rl, int ru, int cl, int cu, DenseBlock db)`
`DenseBlock`
DenseBlockBool.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP32.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64.`set(int rl, int ru, int ol, int ou, DenseBlock db)`
`DenseBlock`
DenseBlockFP64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(int rl, int ru, int ol, int ou, DenseBlock db)`
`DenseBlock`
DenseBlockFP64DEDUP.`set(DenseBlock db)`
`DenseBlock`
DenseBlockInt32.`set(DenseBlock db)`
`DenseBlock`
DenseBlockInt64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLDRB.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLFP64.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLFP64DEDUP.`set(DenseBlock db)`
`DenseBlock`
DenseBlockLString.`set(DenseBlock db)`
`DenseBlock`
DenseBlockString.`set(DenseBlock db)`
`DenseBlock`
DenseBlockFP64.`setPartialCol(DenseBlock col, int cIdx, int srcOffset, int destOffset, int length)`
`DenseBlock`
DenseBlockFP64.`setPartialRow(DenseBlock row, int rIdx, int srcOffset, int destOffset, int length)`

## Uses of DenseBlock in org.apache.sysds.runtime.matrix.data

Methods in org.apache.sysds.runtime.matrix.data that return DenseBlock
Modifier and Type
Method
Description
`DenseBlock`
MatrixBlock.`getDenseBlock()`
Methods in org.apache.sysds.runtime.matrix.data with parameters of type DenseBlock
Modifier and Type
Method
Description
`static void`
LibMatrixMult.`matrixMultDenseDenseMM(DenseBlock a, DenseBlock b, DenseBlock c, boolean transA, boolean transB, int n, int cd, int rl, int ru, int cl, int cu)`
`static void`
LibMatrixMult.`matrixMultDenseDenseMM(DenseBlock a, DenseBlock b, DenseBlock c, int n, int cd, int rl, int ru, int cl, int cu)`
`static void`
LibMatrixMult.`matrixMultDenseDenseMMDedup(DenseBlockFP64DEDUP a, DenseBlock b, DenseBlockFP64DEDUP c, int n, int cd, int rl, int ru, ConcurrentHashMap<double[],double[]> cache)`
`void`
MatrixBlock.`setDenseBlock(DenseBlock dblock)`
Constructors in org.apache.sysds.runtime.matrix.data with parameters of type DenseBlock
Modifier
Constructor
Description
``
`MatrixBlock(int rl, int cl, DenseBlock dBlock)`

## Uses of DenseBlock in org.apache.sysds.runtime.util

Methods in org.apache.sysds.runtime.util that return DenseBlock
Modifier and Type
Method
Description
`static DenseBlock`
DataConverter.`convertToDenseBlock(MatrixBlock mb)`
`static DenseBlock`
DataConverter.`convertToDenseBlock(MatrixBlock mb, boolean deep)`