Top Description Methods
org.apache.commons.math3.geometry

public Interface Space

extends Serializable
Known Direct Implementers
org.apache.commons.math3.geometry.euclidean.oned.Euclidean1D, org.apache.commons.math3.geometry.euclidean.threed.Euclidean3D, org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D, org.apache.commons.math3.geometry.spherical.oned.Sphere1D, org.apache.commons.math3.geometry.spherical.twod.Sphere2D
Imports
java.io.Serializable, org.apache.commons.math3.exception.MathUnsupportedOperationException

This interface represents a generic space, with affine and vectorial counterparts.
Since
3.0
See Also
Vector

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

dimension of the space
getDimension
()

Get the dimension of the space.

public Space

Returns:

n-1 dimension sub-space of this space
getSubSpace
()

Get the n-1 dimension subspace of this space.

Method Detail

getDimensionback to summary
public int getDimension()

Get the dimension of the space.

Returns:int

dimension of the space

getSubSpaceback to summary
public Space getSubSpace() throws MathUnsupportedOperationException

Get the n-1 dimension subspace of this space.

Returns:Space

n-1 dimension sub-space of this space

Exceptions
MathUnsupportedOperationException:
for dimension-1 spaces which do not have sub-spaces
See Also
getDimension()