Package one.empty3.library.core.math
Class Matrix
java.lang.Object
one.empty3.feature.M
one.empty3.feature.PixM
one.empty3.library.core.math.Matrix
- All Implemented Interfaces:
InterfaceMatrix
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
-
Field Summary
FieldsFields inherited from class one.empty3.feature.PixM
COMP_ALPHA, COMP_BLUE, COMP_GREEN, COMP_INTENSITY, COMP_RED
-
Constructor Summary
ConstructorsConstructorDescriptionMatrix
(int lines, int columns) Matrix
(int lines, int columns, int countComp) Matrix
(int lines, int columns, Matrix.Producer producer) -
Method Summary
Modifier and TypeMethodDescriptionapply
(Matrix.ValueProducer producer) boolean
void
forEach
(Matrix.IndexValueConsumer consumer) void
forEach
(Matrix.RowColIndexValueConsumer consumer) double
get
(int index) double
get
(int row, int col) int
hashCode()
modify
(Matrix.RowColProducer producer) modify
(Matrix.ValueProducer producer) void
set
(int row, double value) void
set
(int row, int col, double value) softmax()
sumlines()
toString()
Methods inherited from class one.empty3.feature.PixM
applyFilter, colorsRegion, colorsRegion, colorsRegionWithMask, copy, copySubImage, derivative, difference, distance, distance, fillIn, getColorsRegion, getColumns, getImage, getLines, getPixM, getRgb, luminance, mean, normalize, normalize, norme, paintAll, pasteSubImage, pasteSubImage, plotCurve, plotCurveRaw, replaceColor, subSampling
Methods inherited from class one.empty3.feature.M
CoFactor, diag, diag, diagonalSum, error, getColor, getCompCount, getCompNo, getIntensity, getOpValue, getP, getValues, getVector, index, init, op, operator, plus, repmat, set, setColumns, setCompNo, setLines, setP, setRegionCopy, setRegionCopy, setRegionCopy, setValues, tild, trace
-
Field Details
-
DOUBLE_MIN
public static final double DOUBLE_MIN- See Also:
-
NUMBER_FORMAT
- See Also:
-
-
Constructor Details
-
Matrix
public Matrix(int lines, int columns, int countComp) -
Matrix
public Matrix(int lines, int columns) -
Matrix
-
-
Method Details
-
apply
-
toString
-
multiply
-
equals
-
hashCode
public int hashCode() -
get
public double get(int row, int col) - Specified by:
get
in interfaceInterfaceMatrix
- Overrides:
get
in classM
-
set
public void set(int row, int col, double value) - Specified by:
set
in interfaceInterfaceMatrix
- Overrides:
set
in classM
-
set
public void set(int row, double value) -
get
public double get(int index) -
softmax
-
modify
-
modify
-
forEach
-
forEach
-
sumColumns
-
sumlines
-