Uses of Class
org.apache.sysds.runtime.util.IndexRange
-
-
Uses of IndexRange in org.apache.sysds.hops
Methods in org.apache.sysds.hops with parameters of type IndexRange Modifier and Type Method Description static booleanOptimizerUtils. isIndexingRangeBlockAligned(IndexRange ixrange, DataCharacteristics mc)Indicates if the given indexing range is block aligned, i.e., it does not require global aggregation of blocks. -
Uses of IndexRange in org.apache.sysds.runtime.compress
Methods in org.apache.sysds.runtime.compress with parameters of type IndexRange Modifier and Type Method Description voidCompressedMatrixBlock. slice(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)MatrixBlockCompressedMatrixBlock. zeroOutOperations(MatrixValue result, IndexRange range, boolean complementary) -
Uses of IndexRange in org.apache.sysds.runtime.controlprogram.caching
Methods in org.apache.sysds.runtime.controlprogram.caching with parameters of type IndexRange Modifier and Type Method Description StringMatrixObject. getPartitionFileName(IndexRange pred, int blen)MatrixBlockMatrixObject. readMatrixPartition(IndexRange pred)NOTE: for reading matrix partitions, we could cache (in its real sense) the read block with soft references (no need for eviction, as partitioning only applied for read-only matrices). -
Uses of IndexRange in org.apache.sysds.runtime.controlprogram.federated
Methods in org.apache.sysds.runtime.controlprogram.federated that return IndexRange Modifier and Type Method Description IndexRangeFederatedRange. asIndexRange()Methods in org.apache.sysds.runtime.controlprogram.federated with parameters of type IndexRange Modifier and Type Method Description FederationMapFederationMap. filter(IndexRange ixrange) -
Uses of IndexRange in org.apache.sysds.runtime.instructions.spark
Methods in org.apache.sysds.runtime.instructions.spark with parameters of type IndexRange Modifier and Type Method Description static MatrixBlockMatrixIndexingSPInstruction. inmemoryIndexing(org.apache.spark.api.java.JavaPairRDD<MatrixIndexes,MatrixBlock> in1, DataCharacteristics mcIn, DataCharacteristics mcOut, IndexRange ixrange)static booleanMatrixIndexingSPInstruction. isMultiBlockLookup(org.apache.spark.api.java.JavaPairRDD<?,?> in, DataCharacteristics mcIn, DataCharacteristics mcOut, IndexRange ixrange)Indicates if the given index range and input matrix exhibit the following properties: (1) existing hash partitioner, (2) out-of-core input matrix (larger than aggregated memory), (3) aligned indexing range (which does not required aggregation), and (4) the output fits twice in memory (in order to collect the result).static booleanMatrixIndexingSPInstruction. isSingleBlockLookup(DataCharacteristics mcIn, IndexRange ixrange)Indicates if the given index range only covers a single blocks of the inputs matrix. -
Uses of IndexRange in org.apache.sysds.runtime.matrix.data
Methods in org.apache.sysds.runtime.matrix.data with parameters of type IndexRange Modifier and Type Method Description FrameBlockFrameBlock. leftIndexingOperations(FrameBlock rhsFrame, IndexRange ixrange, FrameBlock ret)MatrixBlockMatrixBlock. leftIndexingOperations(MatrixBlock rhsMatrix, IndexRange ixrange, MatrixBlock ret, MatrixObject.UpdateType update)static voidOperationsOnMatrixValues. performShift(IndexedMatrixValue in, IndexRange ixrange, int blen, long rlen, long clen, ArrayList<IndexedMatrixValue> outlist)static voidOperationsOnMatrixValues. performShift(Pair<Long,FrameBlock> in, IndexRange ixrange, int blenLeft, long rlen, long clen, ArrayList<Pair<Long,FrameBlock>> outlist)static ArrayList<IndexedMatrixValue>OperationsOnMatrixValues. performSlice(IndexedMatrixValue in, IndexRange ixrange, int blen)static ArrayList<Pair<Long,FrameBlock>>OperationsOnMatrixValues. performSlice(Pair<Long,FrameBlock> in, IndexRange ixrange, int blen)This function will get slice of the input frame block overlapping in overall slice(Range), slice has requested for.static ListOperationsOnMatrixValues. performSlice(IndexRange ixrange, int blen, int iix, int jix, CacheBlock in)Slice used in broadcasting matrix blocks for spark, since this slice up a given matrix into blocks.static ArrayListOperationsOnMatrixValues. performSlice(IndexRange ixrange, int blen, int iix, int jix, FrameBlock in)static ListOperationsOnMatrixValues. performSlice(IndexRange ixrange, int blen, int iix, int jix, MatrixBlock in)static voidOperationsOnMatrixValues. performZeroOut(MatrixIndexes indexesIn, MatrixValue valueIn, MatrixIndexes indexesOut, MatrixValue valueOut, IndexRange range, boolean complementary)voidCM_N_COVCell. slice(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)voidFrameBlock. slice(ArrayList<Pair<Long,FrameBlock>> outlist, IndexRange range, int rowCut)FrameBlockFrameBlock. slice(IndexRange ixrange, FrameBlock ret)voidMatrixBlock. slice(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)MatrixBlockMatrixBlock. slice(IndexRange ixrange, MatrixBlock ret)voidMatrixCell. slice(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)abstract voidMatrixValue. slice(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)Slice out up to 4 matrixBlocks that are separated by the row and col Cuts.static voidLibMatrixCUDA. sliceOperations(ExecutionContext ec, GPUContext gCtx, String instName, MatrixObject in1, IndexRange ixrange, String outputName)Method to perform rightIndex operation for a given lower and upper bounds in row and column dimensions.MatrixValueCM_N_COVCell. zeroOutOperations(MatrixValue result, IndexRange range, boolean complementary)FrameBlockFrameBlock. zeroOutOperations(FrameBlock result, IndexRange range, boolean complementary, int iRowStartSrc, int iRowStartDest, int blen, int iMaxRowsToCopy)This function ZERO OUT the data in the slicing window applicable for this block.MatrixBlockMatrixBlock. zeroOutOperations(MatrixValue result, IndexRange range, boolean complementary)MatrixValueMatrixCell. zeroOutOperations(MatrixValue result, IndexRange range, boolean complementary)abstract MatrixValueMatrixValue. zeroOutOperations(MatrixValue result, IndexRange range, boolean complementary) -
Uses of IndexRange in org.apache.sysds.runtime.transform.encode
Methods in org.apache.sysds.runtime.transform.encode with parameters of type IndexRange Modifier and Type Method Description intMultiColumnEncoder. getNumExtraCols(IndexRange ixRange)LegacyEncoderEncoderMVImpute. subRangeEncoder(IndexRange ixRange)EncoderOmitEncoderOmit. subRangeEncoder(IndexRange ixRange)LegacyEncoderLegacyEncoder. subRangeEncoder(IndexRange ixRange)Returns a new Encoder that only handles a sub range of columns.MultiColumnEncoderMultiColumnEncoder. subRangeEncoder(IndexRange ixRange)<T extends ColumnEncoder>
MultiColumnEncoderMultiColumnEncoder. subRangeEncoder(IndexRange ixRange, Class<T> type) -
Uses of IndexRange in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return IndexRange Modifier and Type Method Description IndexRangeIndexRange. add(int delta)static IndexRangeUtilFunctions. getSelectedRangeForZeroOut(IndexedMatrixValue in, int blen, IndexRange indexRange)static IndexRangeUtilFunctions. getSelectedRangeForZeroOut(Pair<Long,FrameBlock> in, int blen, IndexRange indexRange, long lSrcRowIndex, long lDestRowIndex)Methods in org.apache.sysds.runtime.util with parameters of type IndexRange Modifier and Type Method Description static IndexRangeUtilFunctions. getSelectedRangeForZeroOut(IndexedMatrixValue in, int blen, IndexRange indexRange)static IndexRangeUtilFunctions. getSelectedRangeForZeroOut(Pair<Long,FrameBlock> in, int blen, IndexRange indexRange, long lSrcRowIndex, long lDestRowIndex)static booleanUtilFunctions. isInBlockRange(MatrixIndexes ix, int blen, IndexRange ixrange)static booleanUtilFunctions. isInFrameBlockRange(Long ix, int blen, IndexRange ixrange)
-