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 interfacestatic interfacestatic interfacestatic interfacestatic 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) booleanvoidforEach(Matrix.IndexValueConsumer consumer) voidforEach(Matrix.RowColIndexValueConsumer consumer) doubleget(int index) doubleget(int row, int col) inthashCode()modify(Matrix.RowColProducer producer) modify(Matrix.ValueProducer producer) voidset(int row, double value) voidset(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, subSamplingMethods 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:
getin interfaceInterfaceMatrix- Overrides:
getin classM
-
set
public void set(int row, int col, double value) - Specified by:
setin interfaceInterfaceMatrix- Overrides:
setin classM
-
set
public void set(int row, double value) -
get
public double get(int index) -
softmax
-
modify
-
modify
-
forEach
-
forEach
-
sumColumns
-
sumlines
-