org.apache.commons.math3.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.
  Since:
    3.0
  See Also:
    `Vector`

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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 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()`

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.