Package org.hipparchus.geometry
Interface Space
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Euclidean1D
,Euclidean2D
,Euclidean3D
,Sphere1D
,Sphere2D
public interface Space extends Serializable
This interface represents a generic space, with affine and vectorial counterparts.- See Also:
Vector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDimension()
Get the dimension of the space.Space
getSubSpace()
Get the n-1 dimension subspace of this space.
-
-
-
Method Detail
-
getDimension
int getDimension()
Get the dimension of the space.- Returns:
- dimension of the space
-
getSubSpace
Space getSubSpace() throws MathRuntimeException
Get the n-1 dimension subspace of this space.- Returns:
- n-1 dimension sub-space of this space
- Throws:
MathRuntimeException
- for dimension-1 spaces which do not have sub-spaces- See Also:
getDimension()
-
-