Class Matrix

java.lang.Object
com.agisoft.metashape.Matrix

public class Matrix extends Object
  • Constructor Details

    • Matrix

      public Matrix()
    • Matrix

      public Matrix(int nrows, int ncolumns)
    • Matrix

      public Matrix(double[][] data)
  • Method Details

    • getRows

      public int getRows()
    • getColumns

      public int getColumns()
    • get

      public double get(int row, int col)
    • set

      public void set(int row, int col, double value)
    • getData

      public double[][] getData()
    • setData

      public void setData(double[][] data)
    • mul

      public Matrix mul(Matrix other)
    • mul

      public Vector mul(Vector other)
    • mul

      public Matrix mul(double c)
    • mulp

      public Vector mulp(Vector other)
    • mulv

      public Vector mulv(Vector other)
    • add

      public Matrix add(Matrix other)
    • sub

      public Matrix sub(Matrix other)
    • t

      public Matrix t()
    • getRow

      public Vector getRow(int n)
    • getColumn

      public Vector getColumn(int n)
    • det

      public double det()
    • inv

      public Matrix inv()
    • translation

      public Vector translation()
    • scale

      public double scale()
    • scale3

      public Vector scale3()
    • rotation

      public Matrix rotation()
    • makeDiag

      public static Matrix makeDiag(Vector v)
    • makeRotation

      public static Matrix makeRotation(Matrix rotation)
    • makeTranslation

      public static Matrix makeTranslation(Vector translation)
    • makeScale

      public static Matrix makeScale(Vector scale)