Modifier and Type | Method and Description |
---|---|
MatrixBlock |
CompressedMatrixBlock.scalarOperations(ScalarOperator sop,
MatrixValue result) |
Modifier and Type | Method and Description |
---|---|
abstract ADictionary |
ADictionary.apply(ScalarOperator op)
Applies the scalar operation on the dictionary.
|
Dictionary |
Dictionary.apply(ScalarOperator op) |
QDictionary |
QDictionary.apply(ScalarOperator op) |
abstract ADictionary |
ADictionary.applyScalarOp(ScalarOperator op,
double newVal,
int numCols)
Applies the scalar operation on the dictionary.
|
Dictionary |
Dictionary.applyScalarOp(ScalarOperator op,
double newVal,
int numCols) |
QDictionary |
QDictionary.applyScalarOp(ScalarOperator op,
double newVal,
int numCols) |
ColGroup |
ColGroupRLE.scalarOperation(ScalarOperator op) |
ColGroup |
ColGroupDDC1.scalarOperation(ScalarOperator op) |
abstract ColGroup |
ColGroup.scalarOperation(ScalarOperator op)
Perform the specified scalar operation directly on the compressed column group, without decompressing individual
cells if possible.
|
ColGroup |
ColGroupUncompressed.scalarOperation(ScalarOperator op) |
ColGroup |
ColGroupDDC2.scalarOperation(ScalarOperator op) |
ColGroup |
ColGroupOLE.scalarOperation(ScalarOperator op) |
Modifier and Type | Method and Description |
---|---|
static ScalarOperator |
InstructionUtils.parseScalarBinaryOperator(String opcode,
boolean arg1IsScalar)
scalar-matrix operator
|
static ScalarOperator |
InstructionUtils.parseScalarBinaryOperator(String opcode,
boolean arg1IsScalar,
double constant)
scalar-matrix operator
|
Constructor and Description |
---|
MatrixScalarUnaryFunction(ScalarOperator sc_op) |
Modifier and Type | Method and Description |
---|---|
static void |
LibMatrixBincell.bincellOp(MatrixBlock m1,
MatrixBlock ret,
ScalarOperator op)
matrix-scalar, scalar-matrix binary operations.
|
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 op
|
static void |
LibMatrixCUDA.matrixScalarOp(ExecutionContext ec,
GPUContext gCtx,
String instName,
MatrixObject in,
String outputName,
boolean isInputTransposed,
ScalarOperator op)
Utility to do matrix-scalar operation kernel
|
static 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 op
|
abstract MatrixValue |
MatrixValue.scalarOperations(ScalarOperator op,
MatrixValue result) |
MatrixValue |
MatrixCell.scalarOperations(ScalarOperator op,
MatrixValue result) |
MatrixBlock |
MatrixBlock.scalarOperations(ScalarOperator op,
MatrixValue result) |
MatrixValue |
WeightedCell.scalarOperations(ScalarOperator op,
MatrixValue result) |
MatrixValue |
CM_N_COVCell.scalarOperations(ScalarOperator op,
MatrixValue result) |
void |
MatrixCell.sparseScalarOperationsInPlace(ScalarOperator op) |
void |
WeightedCell.sparseScalarOperationsInPlace(ScalarOperator op) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
ScalarOperator |
RightScalarOperator.setConstant(double cst) |
ScalarOperator |
LeftScalarOperator.setConstant(double cst) |
abstract ScalarOperator |
ScalarOperator.setConstant(double cst) |
ScalarOperator |
RightScalarOperator.setConstant(double cst,
int numThreads) |
ScalarOperator |
LeftScalarOperator.setConstant(double cst,
int numThreads) |
abstract ScalarOperator |
ScalarOperator.setConstant(double cst,
int numThreads) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.