org.apache.commons.math3.geometry
Interface Space
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- Euclidean1D, Euclidean2D, Euclidean3D, Sphere1D, Sphere2D
public interface Space extends java.io.SerializableThis interface represents a generic space, with affine and vectorial counterparts.- Since:
- 3.0
- See Also:
Vector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetDimension()Get the dimension of the space.SpacegetSubSpace()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 MathUnsupportedOperationException
Get the n-1 dimension subspace of this space.- Returns:
- n-1 dimension sub-space of this space
- Throws:
MathUnsupportedOperationException- for dimension-1 spaces which do not have sub-spaces- See Also:
getDimension()
-
-
DMelt 3.0 © DataMelt by jWork.ORG