Uses of Class
org.ejml.data.DMatrix2
-
Uses of DMatrix2 in org.ejml.data
-
Uses of DMatrix2 in org.ejml.dense.fixed
Modifier and TypeMethodDescriptionstatic DMatrix2
CommonOps_DDF2.extractColumn
(DMatrix2x2 a, int column, DMatrix2 out) Extracts the column from the matrix a.static DMatrix2
CommonOps_DDF2.extractRow
(DMatrix2x2 a, int row, DMatrix2 out) Extracts the row from the matrix a.Modifier and TypeMethodDescriptionstatic void
Performs the following operation:
c = a + b
ci = ai + bistatic void
Performs the following operation:
a = a + b
ai = ai + bistatic void
CommonOps_DDF2.changeSign
(DMatrix2 a) Changes the sign of every element in the vector.
ai = -aistatic void
CommonOps_DDF2.diag
(DMatrix2x2 input, DMatrix2 out) Extracts all diagonal elements from 'input' and places them inside the 'out' vector.static void
Performs an in-place element by element scalar division.static void
Performs an element by element scalar division.static double
Performs the vector dot product:
c = a * b
c ≥ ∑k=1:n { bk * ak }static void
CommonOps_DDF2.elementDiv
(DMatrix2 a, DMatrix2 b) Performs an element by element division operation:
ai = ai / bistatic void
CommonOps_DDF2.elementDiv
(DMatrix2 a, DMatrix2 b, DMatrix2 c) Performs an element by element division operation:
ci = ai / bistatic double
CommonOps_DDF2.elementMax
(DMatrix2 a) Returns the value of the element in the vector that has the largest value.
Max{ ai } for all istatic double
CommonOps_DDF2.elementMaxAbs
(DMatrix2 a) Returns the absolute value of the element in the vector that has the largest absolute value.
Max{ |ai| } for all istatic double
CommonOps_DDF2.elementMin
(DMatrix2 a) Returns the value of the element in the vector that has the minimum value.
Min{ ai } for allstatic double
CommonOps_DDF2.elementMinAbs
(DMatrix2 a) Returns the absolute value of the element in the vector that has the smallest absolute value.
Min{ |ai| } for all istatic void
CommonOps_DDF2.elementMult
(DMatrix2 a, DMatrix2 b) Performs an element by element multiplication operation:
ai = ai * bistatic void
CommonOps_DDF2.elementMult
(DMatrix2 a, DMatrix2 b, DMatrix2 c) Performs an element by element multiplication operation:
ci = ai * bjstatic DMatrix2
CommonOps_DDF2.extractColumn
(DMatrix2x2 a, int column, DMatrix2 out) Extracts the column from the matrix a.static DMatrix2
CommonOps_DDF2.extractRow
(DMatrix2x2 a, int row, DMatrix2 out) Extracts the row from the matrix a.static double
static void
Sets every element in the vector to the specified value.
ai = valuestatic boolean
MatrixFeatures_DDF2.hasUncountable
(DMatrix2 a) static boolean
MatrixFeatures_DDF2.isIdentical
(DMatrix2 a, DMatrix2 b, double tol) static void
CommonOps_DDF2.mult
(DMatrix2 a, DMatrix2x2 b, DMatrix2 c) Performs vector to matrix multiplication:
c = a * b
cj = ∑k=1:n { bk * akj }static void
CommonOps_DDF2.mult
(DMatrix2x2 a, DMatrix2 b, DMatrix2 c) Performs matrix to vector multiplication:
c = a * b
ci = ∑k=1:n { aik * bk}static void
CommonOps_DDF2.multAddOuter
(double alpha, DMatrix2x2 A, double beta, DMatrix2 u, DMatrix2 v, DMatrix2x2 C) C = αA + βu*vTstatic void
NormOps_DDF2.normalizeF
(DMatrix2 M) static double
static void
Performs an in-place element by element scalar multiplication.
aij = α*aijstatic void
Performs an element by element scalar multiplication.
bi = α*aistatic void
Performs the following operation:
c = a - b
ci = ai - bistatic void
CommonOps_DDF2.subtractEquals
(DMatrix2 a, DMatrix2 b) Performs the following operation:
a = a - b
ai = ai - bi -
Uses of DMatrix2 in org.ejml.ops
Modifier and TypeMethodDescriptionstatic DMatrix2
DConvertMatrixStruct.convert
(DMatrixRMaj input, @Nullable DMatrix2 output) ConvertsDMatrixRMaj
intoDMatrix2
Modifier and TypeMethodDescriptionstatic DMatrixRMaj
DConvertMatrixStruct.convert
(DMatrix2 input, @Nullable DMatrixRMaj output) ConvertsDMatrix2
intoDMatrixRMaj
.static DMatrix2
DConvertMatrixStruct.convert
(DMatrixRMaj input, @Nullable DMatrix2 output) ConvertsDMatrixRMaj
intoDMatrix2