public final class MatrixFactory extends Object
GeneralMatriximplementation according the desired matrix size. Note that if the matrix size is know at compile time, it may be more efficient to invoke directly the constructor of the appropriate class instead.
|Modifier and Type||Method and Description|
Creates a square identity matrix of size
Creates a matrix of size
Creates a new matrix which is a copy of the specified matrix.
public static XMatrix create(int size)
size- For an affine transform, this is the number of source and target dimensions + 1.
public static XMatrix create(int numRow, int numCol)
numCol. Elements on the diagonal j==i are set to 1.
Copyright © 1996–2020 Geotools. All rights reserved.