Class M

java.lang.Object
one.empty3.feature.M
All Implemented Interfaces:
InterfaceMatrix
Direct Known Subclasses:
PixM, V

public class M extends Object implements InterfaceMatrix
  • Field Details

    • r

      public static PrimitiveIterator.OfDouble r
    • noValue

      public static final Double noValue
    • columns

      protected int columns
    • lines

      protected int lines
    • x

      protected double[] x
    • compNo

      protected int compNo
    • compCount

      public int compCount
  • Constructor Details

    • M

      public M(int c, int l)
    • M

      public M(PixM pix)
    • M

      public M(int cl)
  • Method Details

    • getColumns

      public int getColumns()
    • setColumns

      public void setColumns(int columns)
    • getLines

      public int getLines()
    • setLines

      public void setLines(int lines)
    • plus

      public M plus(M m2)
    • operator

      public M operator(char[] operators, M... m)
    • getValues

      public double[] getValues(int i, int j)
      Specified by:
      getValues in interface InterfaceMatrix
    • getVector

      public static double[] getVector(int add, double[]... vectors)
    • setP

      public void setP(int i, int j, Point3D p)
    • getP

      public Point3D getP(int i, int j)
    • setValues

      public void setValues(int i, int j, double... v)
    • init

      public void init(int l, int c)
      Specified by:
      init in interface InterfaceMatrix
    • get

      public double get(int column, int line)
      Specified by:
      get in interface InterfaceMatrix
    • getIntensity

      public double getIntensity(int column, int line)
    • getColor

      public void getColor(int column, int line, float[] comps)
    • getCompNo

      public int getCompNo()
      Specified by:
      getCompNo in interface InterfaceMatrix
    • setCompNo

      public void setCompNo(int compNo)
      Specified by:
      setCompNo in interface InterfaceMatrix
    • index

      public int index(int column, int line)
    • set

      public void set(int column, int line, double d)
      Specified by:
      set in interface InterfaceMatrix
    • set

      public void set(int column, int line, double... values)
      Specified by:
      set in interface InterfaceMatrix
    • tild

      public M tild()
    • trace

      public double trace()
    • diagonalSum

      public double diagonalSum()
    • getCompCount

      public int getCompCount()
    • CoFactor

      public M CoFactor()
    • error

      public double error(double... w12)
    • getOpValue

      public double getOpValue(String op, double m1ij, double m2ij)
    • op

      public M op(M mat2, String op)
    • setRegionCopy

      public void setRegionCopy(M3 original, int ii, int ij, int iStart, int jStart, int iEnd, int jEnd, PixM pixM, int iPaste, int jPaste)
    • setRegionCopy

      public void setRegionCopy(PixM original, int iStart, int jStart, int iEnd, int jEnd, PixM pixM, int iPaste, int jPaste)
    • setRegionCopy

      public void setRegionCopy(PixM original, int iStart, int jStart, int iEnd, int jEnd, M3 m3, int iPaste, int jPaste, int iiPaste, int ijPaste)
    • repmat

      public static M repmat(double[][] dd, int nLine, int mColumn)
    • diag

      public static M diag(double... d)
    • diag

      public static M diag(M d)