Package org.apache.sis.referencing.operation.matrix
 The class specializations for such small matrices.
 Methods specific to coordinate systems support like
Matrices.createTransform(…)
.  Matrix inversions tolerant to
NaN
values and nonsquare matrix in some situations.
This package provides public implementations of small square matrices, with size ranging from 1×1 to 4×4. Those implementations are made public because in many cases, the user know that (s)he is working with (for example) threedimensional Coordinate Reference Systems (CRS). If the number of CRS dimensions is fixed to 3, then affine transforms between those CRS can be represented by 4×4 matrices, and the derivatives of those transforms can be represented by 3×3 matrices. Since the user know the matrices size, (s)he can use the specific implementation and read or write directly the m_{row column} field.
Example: in the two dimensional case, an affine transform from a map projection (units in metres) to the screen (units in pixels) can be performed by the following matrix multiplication:
The current implementation uses doubledouble arithmetic. However this may change in any future SIS version.
org.apache.sis.referencing
for making clearer that this is not a generalpurpose library.
For computational intensive calculations, better guarantees on numerical stability, sparse matrices support
and more, consider using an dedicated library like jblas instead.
The Vecmath library shares similar goals than MatrixSIS
.
Like SIS, Vecmath is optimized for small matrices of interest for 2D and 3D graphics.
 Since:
 0.4
Defined in the sisreferencing
module

Class Summary Class Description AffineTransforms2D Bridge betweenMatrix
and Java2DAffineTransform
instances.Matrices Matrix
factory methods and utilities.Matrix1 Matrix2 Matrix3 Matrix4 MatrixSIS AMatrix
able to perform some operations of interest to Spatial Information Systems (SIS). 
Exception Summary Exception Description MismatchedMatrixSizeException Thrown when two matrices can not be added or multiplied because the sizes do not match.NoninvertibleMatrixException Thrown when a matrix can not be inverted.