sugr
Class Equal

java.lang.Object
  extended bysugr.BiRelationalProperty
      extended bysugr.Equal
All Implemented Interfaces:
java.lang.Cloneable, RelationalProperty

public class Equal
extends BiRelationalProperty

Contains methods if two elements are equal or not. You can retrieve then a lot of information about this test, for example: chiČ-value used, the testvalue and so on.

Version:
1.1.0 (19.2.2003)
- Fixed: rewritten test of Line_3D/Line_3D. Now using reduced matrices so that matrix inner dimensions agree
1.1.1 (24.2.2003)
Changed: works now on copies of entities. This preserves the original input values from changing!!! 1.1.2 (17.04.2003)
if ( (e1 instanceof Line_3D) && (e2 instanceof Line_3D) ){ find an L_i*M_i >0 changed 2.0 (June 2003)
Is now derived from BiRelationalProperty !!!
Author:
Norbert Fischer

Field Summary
 
Fields inherited from class sugr.BiRelationalProperty
first, secondEntityType
 
Constructor Summary
Equal(Entity e)
          Build up an Equal relation between to Entities.
Equal(Line_2D l, java.lang.Class secondClass)
          Build up an Equal-Relation between two Line_2D.
Equal(Line_3D l, java.lang.Class secondClass)
          Build up an Equal-Relation between two Line_3D.
Equal(Plane_3D a, java.lang.Class secondClass)
          Build up an Equal-Relation between two Plane_3D.
Equal(Point_2D x, java.lang.Class secondClass)
          Build up an Equal-Relation between two Point_2D.
Equal(Point_3D x, java.lang.Class secondClass)
          Build up an Equal-Relation between two Point_3D.
 
Method Summary
 Matrix getCovarianceOfJacobianRow(int row)
           Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type.
 int getDof()
           Compute degrees of freedom of that Relation
 Matrix getJacobian()
           Return Matrix Jacobian A of the first Entity and the relation type.
 
Methods inherited from class sugr.BiRelationalProperty
changeNullspace, clone, doCondition, doCondition, ensureConstraints, getCovarianceOfObservations, getFirstEntity, getJacobianOfObservationConstraints, getObservations, getReducedCovarianceOfObservations, getTargetType, getValueOfObservationConstraints, setObservations
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Equal

public Equal(Entity e)
Build up an Equal relation between to Entities.

Parameters:
e - Entity

Equal

public Equal(Point_2D x,
             java.lang.Class secondClass)
Build up an Equal-Relation between two Point_2D.

Parameters:
x - first Point_2D
secondClass - must be Point_2D.class, only for compatibility reasons

Equal

public Equal(Line_2D l,
             java.lang.Class secondClass)
Build up an Equal-Relation between two Line_2D.

Parameters:
l - first Line_2D
secondClass - must be Line_2D.class, only for compatibility reasons

Equal

public Equal(Point_3D x,
             java.lang.Class secondClass)
Build up an Equal-Relation between two Point_3D.

Parameters:
x - first Point_3D
secondClass - must be Point_3D.class, only for compatibility reasons

Equal

public Equal(Line_3D l,
             java.lang.Class secondClass)
Build up an Equal-Relation between two Line_3D.

Parameters:
l - first Line_3D
secondClass - must be Line_3D.class, only for compatibility reasons

Equal

public Equal(Plane_3D a,
             java.lang.Class secondClass)
Build up an Equal-Relation between two Plane_3D.

Parameters:
a - first Plane_3D
secondClass - must be Plane_3D.class, only for compatibility reasons
Method Detail

getJacobian

public Matrix getJacobian()

Return Matrix Jacobian A of the first Entity and the relation type. Be careful: For estimation , the Jacobian must have another sign for Jacobian of observations and unknowns. So deliver (-1)* the Jacobian of the Entity ! (See table 3.6. on page 73 of diss of Stephan Heuel!)

Specified by:
getJacobian in interface RelationalProperty
Specified by:
getJacobian in class BiRelationalProperty
Returns:
Matrix A


getDof

public int getDof()

Compute degrees of freedom of that Relation

Specified by:
getDof in interface RelationalProperty
Specified by:
getDof in class BiRelationalProperty
Returns:
degrees of freedom of that Relation


getCovarianceOfJacobianRow

public Matrix getCovarianceOfJacobianRow(int row)

Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type.

Specified by:
getCovarianceOfJacobianRow in interface RelationalProperty
Specified by:
getCovarianceOfJacobianRow in class BiRelationalProperty
Parameters:
row - Row vector, for which the Covariance matrix is to be returned
Returns:
covariance of the row vector of the jacobian