Uses of Class
org.apache.sysds.runtime.matrix.operators.ScalarOperator
-
-
Uses of ScalarOperator in org.apache.sysds.runtime.compress
Methods in org.apache.sysds.runtime.compress with parameters of type ScalarOperator Modifier and Type Method Description MatrixBlock
CompressedMatrixBlock. scalarOperations(ScalarOperator sop, MatrixValue result)
-
Uses of ScalarOperator in org.apache.sysds.runtime.compress.colgroup
-
Uses of ScalarOperator in org.apache.sysds.runtime.compress.colgroup.dictionary
Methods in org.apache.sysds.runtime.compress.colgroup.dictionary with parameters of type ScalarOperator Modifier and Type Method Description DeltaDictionary
DeltaDictionary. applyScalarOp(ScalarOperator op)
Dictionary
Dictionary. applyScalarOp(ScalarOperator op)
IDictionary
IdentityDictionary. applyScalarOp(ScalarOperator op)
IDictionary
IDictionary. applyScalarOp(ScalarOperator op)
Allocate a new dictionary and applies the scalar operation on each cell of to then return the new dictionary.IDictionary
MatrixBlockDictionary. applyScalarOp(ScalarOperator op)
IDictionary
PlaceHolderDict. applyScalarOp(ScalarOperator op)
QDictionary
QDictionary. applyScalarOp(ScalarOperator op)
IDictionary
Dictionary. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
IDictionary
IdentityDictionary. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
IDictionary
IDictionary. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
Allocate a new dictionary with one extra row and applies the scalar operation on each cell of to then return the new dictionary.IDictionary
MatrixBlockDictionary. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
IDictionary
PlaceHolderDict. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
IDictionary
QDictionary. applyScalarOpAndAppend(ScalarOperator op, double v0, int nCol)
Dictionary
Dictionary. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
IDictionary
IdentityDictionary. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
IDictionary
IDictionary. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
Allocate a new dictionary and apply the scalar operation on each cell to then return a new dictionary.IDictionary
MatrixBlockDictionary. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
IDictionary
PlaceHolderDict. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
IDictionary
QDictionary. applyScalarOpWithReference(ScalarOperator op, double[] reference, double[] newReference)
-
Uses of ScalarOperator in org.apache.sysds.runtime.compress.lib
Methods in org.apache.sysds.runtime.compress.lib with parameters of type ScalarOperator Modifier and Type Method Description static MatrixBlock
CLALibScalar. scalarOperations(ScalarOperator sop, CompressedMatrixBlock m1, MatrixValue result)
-
Uses of ScalarOperator in org.apache.sysds.runtime.instructions
Methods in org.apache.sysds.runtime.instructions that return ScalarOperator Modifier and Type Method Description static ScalarOperator
InstructionUtils. parseScalarBinaryOperator(String opcode, boolean arg1IsScalar)
scalar-matrix operatorstatic ScalarOperator
InstructionUtils. parseScalarBinaryOperator(String opcode, boolean arg1IsScalar, double constant)
scalar-matrix operatorstatic ScalarOperator
InstructionUtils. parseScalarBinaryOperator(String opcode, boolean arg1IsScalar, double constant, int k)
-
Uses of ScalarOperator in org.apache.sysds.runtime.instructions.spark.functions
Constructors in org.apache.sysds.runtime.instructions.spark.functions with parameters of type ScalarOperator Constructor Description MatrixScalarUnaryFunction(ScalarOperator sc_op)
-
Uses of ScalarOperator in org.apache.sysds.runtime.matrix.data
Methods in org.apache.sysds.runtime.matrix.data with parameters of type ScalarOperator Modifier and Type Method Description static MatrixBlock
LibMatrixBincell. bincellOpScalar(MatrixBlock m1, MatrixBlock ret, ScalarOperator op, int k)
void
MatrixCell. denseScalarOperationsInPlace(ScalarOperator op)
void
WeightedCell. denseScalarOperationsInPlace(ScalarOperator op)
static void
LibMatrixCUDA. matrixScalarArithmetic(ExecutionContext ec, GPUContext gCtx, String instName, MatrixObject in, String outputName, boolean isInputTransposed, ScalarOperator op)
Entry point to perform elementwise matrix-scalar arithmetic operation specified by opstatic void
LibMatrixCUDA. matrixScalarOp(ExecutionContext ec, GPUContext gCtx, String instName, MatrixObject in, String outputName, boolean isInputTransposed, ScalarOperator op)
Utility to do matrix-scalar operation kernelstatic void
LibMatrixCUDA. matrixScalarRelational(ExecutionContext ec, GPUContext gCtx, String instName, MatrixObject in, String outputName, ScalarOperator op)
Entry point to perform elementwise matrix-scalar relational operation specified by opMatrixValue
CM_N_COVCell. scalarOperations(ScalarOperator op, MatrixValue result)
MatrixBlock
MatrixBlock. scalarOperations(ScalarOperator op, MatrixValue result)
MatrixValue
MatrixCell. scalarOperations(ScalarOperator op, MatrixValue result)
abstract MatrixValue
MatrixValue. scalarOperations(ScalarOperator op, MatrixValue result)
MatrixValue
WeightedCell. scalarOperations(ScalarOperator op, MatrixValue result)
void
MatrixCell. sparseScalarOperationsInPlace(ScalarOperator op)
void
WeightedCell. sparseScalarOperationsInPlace(ScalarOperator op)
-
Uses of ScalarOperator in org.apache.sysds.runtime.matrix.operators
Subclasses of ScalarOperator in org.apache.sysds.runtime.matrix.operators Modifier and Type Class Description class
LeftScalarOperator
Scalar operator for scalar-matrix operations with scalar on the left-hand-side.class
RightScalarOperator
Scalar operator for scalar-matrix operations with scalar on the right-hand-side.Methods in org.apache.sysds.runtime.matrix.operators that return ScalarOperator Modifier and Type Method Description ScalarOperator
LeftScalarOperator. setConstant(double cst)
ScalarOperator
LeftScalarOperator. setConstant(double cst, int numThreads)
ScalarOperator
RightScalarOperator. setConstant(double cst)
ScalarOperator
RightScalarOperator. setConstant(double cst, int numThreads)
abstract ScalarOperator
ScalarOperator. setConstant(double cst)
abstract ScalarOperator
ScalarOperator. setConstant(double cst, int numThreads)
-