Package org.ejml.simple.ops
Class SimpleOperations_DSCC
java.lang.Object
org.ejml.simple.ops.SimpleOperations_DSCC
- All Implemented Interfaces:
Serializable
,SimpleOperations<DMatrixSparseCSC>
,SimpleSparseOperations<DMatrixSparseCSC,
DMatrixRMaj>
public class SimpleOperations_DSCC
extends Object
implements SimpleSparseOperations<DMatrixSparseCSC,DMatrixRMaj>
Implementation of
SimpleOperations
for DMatrixSparseCSC
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ejml.simple.SimpleOperations
SimpleOperations.ElementOpComplex, SimpleOperations.ElementOpReal
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
double
double
void
divide
(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) Divides each element by val.double
void
elementDiv
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
elementExp
(DMatrixSparseCSC A, DMatrixSparseCSC output) void
elementLog
(DMatrixSparseCSC A, DMatrixSparseCSC output) double
double
double
double
void
elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
void
elementOp
(DMatrixSparseCSC A, SimpleOperations.ElementOpReal op, DMatrixSparseCSC output) void
elementPower
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) void
elementPower
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) double
void
extract
(DMatrixSparseCSC src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixSparseCSC dst, int dstY0, int dstX0) void
extractDiag
(DMatrixSparseCSC input, DMatrixRMaj output) void
fill
(DMatrixSparseCSC A, double value) double
get
(DMatrixSparseCSC A, int row, int column) void
get
(DMatrixSparseCSC A, int row, int column, Complex_F64 value) double[]
getColumn
(DMatrixSparseCSC A, int col, int row0, int row1) double
getImaginary
(DMatrixSparseCSC A, int row, int column) double
getReal
(DMatrixSparseCSC A, int row, int column) double[]
getRow
(DMatrixSparseCSC A, int row, int col0, int col1) boolean
boolean
invert
(DMatrixSparseCSC A, DMatrixSparseCSC output) boolean
isIdentical
(DMatrixSparseCSC A, DMatrixSparseCSC B, double tol) void
kron
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
minus
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) output[i,j] = A[i,j] - bvoid
minus
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) output[i,j] = A[i,j] - B[i,j]void
mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) void
mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) void
multTransA
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) double
void
plus
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) output[i,j] = alpha*A[i,j] + beta*b[i,j]void
plus
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) output[i,j] = A[i,j] + bvoid
plus
(DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) output[i,j] = A[i,j] + beta*b[i,j]void
plus
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
print
(PrintStream out, Matrix mat, String format) void
pseudoInverse
(DMatrixSparseCSC A, DMatrixSparseCSC output) void
scale
(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) Multiplies each element by val.void
set
(DMatrixSparseCSC A, int row, int column, double value) void
set
(DMatrixSparseCSC A, int row, int column, double real, double imaginary) void
setColumn
(DMatrixSparseCSC A, int column, int startRow, double... values) void
void
setRow
(DMatrixSparseCSC A, int row, int startColumn, double... values) boolean
solve
(DMatrixSparseCSC A, DMatrixRMaj X, DMatrixRMaj B) boolean
double
void
transpose
(DMatrixSparseCSC input, DMatrixSparseCSC output) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ejml.simple.SimpleOperations
determinantComplex, elementSumComplex, minusComplex, plusComplex, scaleComplex, traceComplex
-
Field Details
-
gw
-
gx
-
workspaceMT
-
workspaceA
-
-
Constructor Details
-
SimpleOperations_DSCC
public SimpleOperations_DSCC()
-
-
Method Details
-
set
- Specified by:
set
in interfaceSimpleOperations<DMatrixSparseCSC>
-
set
- Specified by:
set
in interfaceSimpleOperations<DMatrixSparseCSC>
-
get
- Specified by:
get
in interfaceSimpleOperations<DMatrixSparseCSC>
-
get
- Specified by:
get
in interfaceSimpleOperations<DMatrixSparseCSC>
-
getReal
- Specified by:
getReal
in interfaceSimpleOperations<DMatrixSparseCSC>
-
getImaginary
- Specified by:
getImaginary
in interfaceSimpleOperations<DMatrixSparseCSC>
-
fill
- Specified by:
fill
in interfaceSimpleOperations<DMatrixSparseCSC>
-
transpose
- Specified by:
transpose
in interfaceSimpleOperations<DMatrixSparseCSC>
-
mult
- Specified by:
mult
in interfaceSimpleOperations<DMatrixSparseCSC>
-
multTransA
- Specified by:
multTransA
in interfaceSimpleOperations<DMatrixSparseCSC>
-
extractDiag
- Specified by:
extractDiag
in interfaceSimpleSparseOperations<DMatrixSparseCSC,
DMatrixRMaj>
-
multTransA
- Specified by:
multTransA
in interfaceSimpleSparseOperations<DMatrixSparseCSC,
DMatrixRMaj>
-
mult
- Specified by:
mult
in interfaceSimpleSparseOperations<DMatrixSparseCSC,
DMatrixRMaj>
-
kron
- Specified by:
kron
in interfaceSimpleOperations<DMatrixSparseCSC>
-
plus
- Specified by:
plus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
minus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] - B[i,j]- Specified by:
minus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
minus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] - b- Specified by:
minus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
plus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] + b- Specified by:
plus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
plus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] + beta*b[i,j]- Specified by:
plus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
plus
public void plus(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) Description copied from interface:SimpleOperations
output[i,j] = alpha*A[i,j] + beta*b[i,j]- Specified by:
plus
in interfaceSimpleOperations<DMatrixSparseCSC>
-
dot
- Specified by:
dot
in interfaceSimpleOperations<DMatrixSparseCSC>
-
scale
Description copied from interface:SimpleOperations
Multiplies each element by val. Val is a real number- Specified by:
scale
in interfaceSimpleOperations<DMatrixSparseCSC>
-
divide
Description copied from interface:SimpleOperations
Divides each element by val. Val is a real number- Specified by:
divide
in interfaceSimpleOperations<DMatrixSparseCSC>
-
invert
- Specified by:
invert
in interfaceSimpleOperations<DMatrixSparseCSC>
-
setIdentity
- Specified by:
setIdentity
in interfaceSimpleOperations<DMatrixSparseCSC>
-
pseudoInverse
- Specified by:
pseudoInverse
in interfaceSimpleOperations<DMatrixSparseCSC>
-
solve
- Specified by:
solve
in interfaceSimpleOperations<DMatrixSparseCSC>
-
solve
-
zero
- Specified by:
zero
in interfaceSimpleOperations<DMatrixSparseCSC>
-
normF
- Specified by:
normF
in interfaceSimpleOperations<DMatrixSparseCSC>
-
conditionP2
- Specified by:
conditionP2
in interfaceSimpleOperations<DMatrixSparseCSC>
-
determinant
- Specified by:
determinant
in interfaceSimpleOperations<DMatrixSparseCSC>
-
trace
- Specified by:
trace
in interfaceSimpleOperations<DMatrixSparseCSC>
-
setRow
- Specified by:
setRow
in interfaceSimpleOperations<DMatrixSparseCSC>
-
setColumn
- Specified by:
setColumn
in interfaceSimpleOperations<DMatrixSparseCSC>
-
getRow
- Specified by:
getRow
in interfaceSimpleOperations<DMatrixSparseCSC>
-
getColumn
- Specified by:
getColumn
in interfaceSimpleOperations<DMatrixSparseCSC>
-
extract
public void extract(DMatrixSparseCSC src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixSparseCSC dst, int dstY0, int dstX0) - Specified by:
extract
in interfaceSimpleOperations<DMatrixSparseCSC>
-
diag
- Specified by:
diag
in interfaceSimpleOperations<DMatrixSparseCSC>
-
hasUncountable
- Specified by:
hasUncountable
in interfaceSimpleOperations<DMatrixSparseCSC>
-
changeSign
- Specified by:
changeSign
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementMax
- Specified by:
elementMax
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementMin
- Specified by:
elementMin
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementMaxAbs
- Specified by:
elementMaxAbs
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementMinAbs
- Specified by:
elementMinAbs
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementSum
- Specified by:
elementSum
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementMult
- Specified by:
elementMult
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementDiv
- Specified by:
elementDiv
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementPower
- Specified by:
elementPower
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementPower
- Specified by:
elementPower
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementExp
- Specified by:
elementExp
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementLog
- Specified by:
elementLog
in interfaceSimpleOperations<DMatrixSparseCSC>
-
isIdentical
- Specified by:
isIdentical
in interfaceSimpleOperations<DMatrixSparseCSC>
-
print
- Specified by:
print
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementOp
public void elementOp(DMatrixSparseCSC A, SimpleOperations.ElementOpReal op, DMatrixSparseCSC output) - Specified by:
elementOp
in interfaceSimpleOperations<DMatrixSparseCSC>
-
elementOp
public void elementOp(DMatrixSparseCSC A, SimpleOperations.ElementOpComplex op, DMatrixSparseCSC output) - Specified by:
elementOp
in interfaceSimpleOperations<DMatrixSparseCSC>
-