Class ReduceDiag
- java.lang.Object
-
- org.apache.sysds.runtime.functionobjects.FunctionObject
-
- org.apache.sysds.runtime.functionobjects.IndexFunction
-
- org.apache.sysds.runtime.functionobjects.ReduceDiag
-
- All Implemented Interfaces:
Serializable
public class ReduceDiag extends IndexFunction
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
computeDimension(int row, int col, MatrixValue.CellIndex retDim)
boolean
computeDimension(DataCharacteristics in, DataCharacteristics out)
void
execute(MatrixIndexes in, MatrixIndexes out)
void
execute(MatrixValue.CellIndex in, MatrixValue.CellIndex out)
static ReduceDiag
getReduceDiagFnObject()
-
-
-
Method Detail
-
getReduceDiagFnObject
public static ReduceDiag getReduceDiagFnObject()
-
execute
public void execute(MatrixIndexes in, MatrixIndexes out)
- Specified by:
execute
in classIndexFunction
-
execute
public void execute(MatrixValue.CellIndex in, MatrixValue.CellIndex out)
- Specified by:
execute
in classIndexFunction
-
computeDimension
public boolean computeDimension(int row, int col, MatrixValue.CellIndex retDim)
- Specified by:
computeDimension
in classIndexFunction
-
computeDimension
public boolean computeDimension(DataCharacteristics in, DataCharacteristics out)
- Specified by:
computeDimension
in classIndexFunction
-
-