GeoAPI 1.0
Build 2004-05-18

org.opengis.referencing.quality
Interface CovarianceMatrix

All Superinterfaces:
Cloneable, Cloneable, Matrix, PositionalAccuracy

public interface CovarianceMatrix
extends Matrix, PositionalAccuracy

Error estimate covariance matrix. Individual elements can be obtained with getElement(row, column) and getUnit(row, column).

Version:
Abstract specification 2.0
Author:
ISO 19111, OpenGIS® consortium
UML identifier (abstract type): DQ_CovarianceMatrix

Method Summary
 CovarianceElement[] getElements()
          Returns all the elements.
 Unit getUnit(int row, int column)
          Retrieves the value at the specified row and column of this matrix.
 
Methods inherited from interface Matrix
clone, getElement, getNumCol, getNumRow, isIdentity, setElement
 
Methods inherited from interface PositionalAccuracy
getMeasureDescription
 

Method Detail

getElements

CovarianceElement[] getElements()
Returns all the elements.

Returns:
The elements.
UML identifier (association): includesElement

getUnit

Unit getUnit(int row,
             int column)
Retrieves the value at the specified row and column of this matrix. Each unit of measure represents the ordinate reflected in the relevant row/column of the covariance matrix

Parameters:
row - The row number to be retrieved (zero indexed).
column - The column number to be retrieved (zero indexed).
Returns:
The Covariance units of measure at the indexed element.
See Also:
Matrix.getNumRow(), Matrix.getNumCol(), Matrix.getElement(int, int)
UML identifier (mandatory attribute): unitsOfMeasure
Name change from the UML:
Renamed getUnitOfMeasures as getUnits since this method returns a Unit object from JSR-108. Also provided (row, column) arguments in order to allow individual access without the need to create temporary CovarianceElement elements. A getUnit() method was added in CovarianceElement in order to reduce the need for the old getUnits() method (which returned an array of units). This is also symetric with the fact that getElement(row,column) returns a double (like getCovariance()).

GeoAPI 1.0
Build 2004-05-18

Symbols, terms and definitions
Copyright OpenGIS® Consortium