Package org.ejml.simple.ops
Class SimpleOperations_DDRM
java.lang.Object
org.ejml.simple.ops.SimpleOperations_DDRM
- All Implemented Interfaces:
Serializable
,SimpleOperations<DMatrixRMaj>
Implementation of
SimpleOperations
for DMatrixRMaj
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ejml.simple.SimpleOperations
SimpleOperations.ElementOpComplex, SimpleOperations.ElementOpReal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
double
double
diag
(DMatrixRMaj A) void
divide
(DMatrixRMaj A, double val, DMatrixRMaj output) Divides each element by val.double
dot
(DMatrixRMaj A, DMatrixRMaj v) void
elementDiv
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) void
elementExp
(DMatrixRMaj A, DMatrixRMaj output) void
elementLog
(DMatrixRMaj A, DMatrixRMaj output) double
double
double
double
void
elementMult
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) void
elementOp
(DMatrixRMaj A, SimpleOperations.ElementOpComplex op, DMatrixRMaj output) void
elementOp
(DMatrixRMaj A, SimpleOperations.ElementOpReal op, DMatrixRMaj output) void
elementPower
(DMatrixRMaj A, double b, DMatrixRMaj output) void
elementPower
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) double
void
extract
(DMatrixRMaj src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixRMaj dst, int dstY0, int dstX0) void
fill
(DMatrixRMaj A, double value) double
get
(DMatrixRMaj A, int row, int column) void
get
(DMatrixRMaj A, int row, int column, Complex_F64 value) double[]
getColumn
(DMatrixRMaj A, int col, int row0, int row1) double
getImaginary
(DMatrixRMaj A, int row, int column) double
getReal
(DMatrixRMaj A, int row, int column) double[]
getRow
(DMatrixRMaj A, int row, int idx0, int idx1) boolean
boolean
invert
(DMatrixRMaj A, DMatrixRMaj output) boolean
isIdentical
(DMatrixRMaj A, DMatrixRMaj B, double tol) void
kron
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) void
minus
(DMatrixRMaj A, double b, DMatrixRMaj output) output[i,j] = A[i,j] - bvoid
minus
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) output[i,j] = A[i,j] - B[i,j]void
mult
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) void
multTransA
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) double
normF
(DMatrixRMaj A) void
plus
(double alpha, DMatrixRMaj A, double beta, DMatrixRMaj b, DMatrixRMaj output) output[i,j] = alpha*A[i,j] + beta*b[i,j]void
plus
(DMatrixRMaj A, double b, DMatrixRMaj output) output[i,j] = A[i,j] + bvoid
plus
(DMatrixRMaj A, double beta, DMatrixRMaj b, DMatrixRMaj output) output[i,j] = A[i,j] + beta*b[i,j]void
plus
(DMatrixRMaj A, DMatrixRMaj B, DMatrixRMaj output) void
print
(PrintStream out, Matrix mat, String format) void
pseudoInverse
(DMatrixRMaj A, DMatrixRMaj output) void
scale
(DMatrixRMaj A, double val, DMatrixRMaj output) Multiplies each element by val.void
set
(DMatrixRMaj A, int row, int column, double value) void
set
(DMatrixRMaj A, int row, int column, double real, double imaginary) void
setColumn
(DMatrixRMaj A, int column, int startRow, double... values) void
void
setRow
(DMatrixRMaj A, int row, int startColumn, double... values) boolean
solve
(DMatrixRMaj A, DMatrixRMaj X, DMatrixRMaj B) double
trace
(DMatrixRMaj A) void
transpose
(DMatrixRMaj input, DMatrixRMaj output) void
zero
(DMatrixRMaj A) 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
-
Constructor Details
-
SimpleOperations_DDRM
public SimpleOperations_DDRM()
-
-
Method Details
-
set
- Specified by:
set
in interfaceSimpleOperations<DMatrixRMaj>
-
set
- Specified by:
set
in interfaceSimpleOperations<DMatrixRMaj>
-
get
- Specified by:
get
in interfaceSimpleOperations<DMatrixRMaj>
-
get
- Specified by:
get
in interfaceSimpleOperations<DMatrixRMaj>
-
getReal
- Specified by:
getReal
in interfaceSimpleOperations<DMatrixRMaj>
-
getImaginary
- Specified by:
getImaginary
in interfaceSimpleOperations<DMatrixRMaj>
-
fill
- Specified by:
fill
in interfaceSimpleOperations<DMatrixRMaj>
-
transpose
- Specified by:
transpose
in interfaceSimpleOperations<DMatrixRMaj>
-
mult
- Specified by:
mult
in interfaceSimpleOperations<DMatrixRMaj>
-
multTransA
- Specified by:
multTransA
in interfaceSimpleOperations<DMatrixRMaj>
-
kron
- Specified by:
kron
in interfaceSimpleOperations<DMatrixRMaj>
-
plus
- Specified by:
plus
in interfaceSimpleOperations<DMatrixRMaj>
-
minus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] - B[i,j]- Specified by:
minus
in interfaceSimpleOperations<DMatrixRMaj>
-
minus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] - b- Specified by:
minus
in interfaceSimpleOperations<DMatrixRMaj>
-
plus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] + b- Specified by:
plus
in interfaceSimpleOperations<DMatrixRMaj>
-
plus
Description copied from interface:SimpleOperations
output[i,j] = A[i,j] + beta*b[i,j]- Specified by:
plus
in interfaceSimpleOperations<DMatrixRMaj>
-
plus
Description copied from interface:SimpleOperations
output[i,j] = alpha*A[i,j] + beta*b[i,j]- Specified by:
plus
in interfaceSimpleOperations<DMatrixRMaj>
-
dot
- Specified by:
dot
in interfaceSimpleOperations<DMatrixRMaj>
-
scale
Description copied from interface:SimpleOperations
Multiplies each element by val. Val is a real number- Specified by:
scale
in interfaceSimpleOperations<DMatrixRMaj>
-
divide
Description copied from interface:SimpleOperations
Divides each element by val. Val is a real number- Specified by:
divide
in interfaceSimpleOperations<DMatrixRMaj>
-
invert
- Specified by:
invert
in interfaceSimpleOperations<DMatrixRMaj>
-
setIdentity
- Specified by:
setIdentity
in interfaceSimpleOperations<DMatrixRMaj>
-
pseudoInverse
- Specified by:
pseudoInverse
in interfaceSimpleOperations<DMatrixRMaj>
-
solve
- Specified by:
solve
in interfaceSimpleOperations<DMatrixRMaj>
-
zero
- Specified by:
zero
in interfaceSimpleOperations<DMatrixRMaj>
-
normF
- Specified by:
normF
in interfaceSimpleOperations<DMatrixRMaj>
-
conditionP2
- Specified by:
conditionP2
in interfaceSimpleOperations<DMatrixRMaj>
-
determinant
- Specified by:
determinant
in interfaceSimpleOperations<DMatrixRMaj>
-
trace
- Specified by:
trace
in interfaceSimpleOperations<DMatrixRMaj>
-
setRow
- Specified by:
setRow
in interfaceSimpleOperations<DMatrixRMaj>
-
setColumn
- Specified by:
setColumn
in interfaceSimpleOperations<DMatrixRMaj>
-
getRow
- Specified by:
getRow
in interfaceSimpleOperations<DMatrixRMaj>
-
getColumn
- Specified by:
getColumn
in interfaceSimpleOperations<DMatrixRMaj>
-
extract
public void extract(DMatrixRMaj src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixRMaj dst, int dstY0, int dstX0) - Specified by:
extract
in interfaceSimpleOperations<DMatrixRMaj>
-
diag
- Specified by:
diag
in interfaceSimpleOperations<DMatrixRMaj>
-
hasUncountable
- Specified by:
hasUncountable
in interfaceSimpleOperations<DMatrixRMaj>
-
changeSign
- Specified by:
changeSign
in interfaceSimpleOperations<DMatrixRMaj>
-
elementMax
- Specified by:
elementMax
in interfaceSimpleOperations<DMatrixRMaj>
-
elementMin
- Specified by:
elementMin
in interfaceSimpleOperations<DMatrixRMaj>
-
elementMaxAbs
- Specified by:
elementMaxAbs
in interfaceSimpleOperations<DMatrixRMaj>
-
elementMinAbs
- Specified by:
elementMinAbs
in interfaceSimpleOperations<DMatrixRMaj>
-
elementSum
- Specified by:
elementSum
in interfaceSimpleOperations<DMatrixRMaj>
-
elementMult
- Specified by:
elementMult
in interfaceSimpleOperations<DMatrixRMaj>
-
elementDiv
- Specified by:
elementDiv
in interfaceSimpleOperations<DMatrixRMaj>
-
elementPower
- Specified by:
elementPower
in interfaceSimpleOperations<DMatrixRMaj>
-
elementPower
- Specified by:
elementPower
in interfaceSimpleOperations<DMatrixRMaj>
-
elementExp
- Specified by:
elementExp
in interfaceSimpleOperations<DMatrixRMaj>
-
elementLog
- Specified by:
elementLog
in interfaceSimpleOperations<DMatrixRMaj>
-
isIdentical
- Specified by:
isIdentical
in interfaceSimpleOperations<DMatrixRMaj>
-
print
- Specified by:
print
in interfaceSimpleOperations<DMatrixRMaj>
-
elementOp
- Specified by:
elementOp
in interfaceSimpleOperations<DMatrixRMaj>
-
elementOp
- Specified by:
elementOp
in interfaceSimpleOperations<DMatrixRMaj>
-