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