RE
- the domain for the space.public class AffineLinearSubspace<RE extends IRingElement<RE>>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
dimension |
protected Vector<RE>[] |
generatingSystem |
protected Vector<RE> |
inhomogenousPart
the inhomogenous part of the space
|
protected boolean |
normalized
Flag: is this space normalised
|
private static long |
serialVersionUID |
Constructor and Description |
---|
AffineLinearSubspace(Vector<RE> inhomogenousPart,
Vector<RE>[] generatingSystem)
This creates an affine linear subspace by taking an inhomogeneous part
and a generating System of Vectors.
|
AffineLinearSubspace(Vector<RE> inhomogenousPart,
Vector<RE>[] generatingSystem,
boolean normalized)
This creates an affine linear subspace by taking an inhomogeneous part
and a generating System of Vectors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getDimension()
Gets the dimension of the affine linear subspace.
|
Vector<RE>[] |
getGeneratingSystem()
Gets the generating system of this affine linear vector space.
|
Vector<RE> |
getInhomogenousPart()
Gets the inhomogenous part of this affine linear vector space.
|
boolean |
isNormalized() |
AffineLinearSubspace<RE> |
normalize()
This method calculates the normalised version of this
AffineLinearSubspace.
|
java.lang.String |
toString()
Returns a String representation of this affine linear subspace
|
private static final long serialVersionUID
protected Vector<RE extends IRingElement<RE>> inhomogenousPart
protected Vector<RE extends IRingElement<RE>>[] generatingSystem
protected int dimension
protected boolean normalized
public AffineLinearSubspace(Vector<RE> inhomogenousPart, Vector<RE>[] generatingSystem) throws InvalidOperationException
inhomogenousPart
- generatingSystem
- InvalidOperationException
public AffineLinearSubspace(Vector<RE> inhomogenousPart, Vector<RE>[] generatingSystem, boolean normalized) throws InvalidOperationException
inhomogenousPart
- generatingSystem
- normalized
- InvalidOperationException
public int getDimension()
public Vector<RE> getInhomogenousPart()
public Vector<RE>[] getGeneratingSystem()
public java.lang.String toString()
toString
in class java.lang.Object
public AffineLinearSubspace<RE> normalize()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean isNormalized()