Package com.agisoft.metashape
Class Matrix
java.lang.Object
com.agisoft.metashape.Matrix
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledet()doubleget(int row, int col) getColumn(int n) intdouble[][]getData()getRow(int n) intgetRows()inv()static Matrixstatic MatrixmakeRotation(Matrix rotation) static Matrixstatic MatrixmakeTranslation(Vector translation) mul(double c) rotation()doublescale()scale3()voidset(int row, int col, double value) voidsetData(double[][] data) t()
-
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
-
mul
-
mul
-
mulp
-
mulv
-
add
-
sub
-
t
-
getRow
-
getColumn
-
det
public double det() -
inv
-
translation
-
scale
public double scale() -
scale3
-
rotation
-
makeDiag
-
makeRotation
-
makeTranslation
-
makeScale
-