Serializable
, Space
public class Euclidean1D extends Object implements Serializable, Space
Modifier and Type | Class | Description |
---|---|---|
static class |
Euclidean1D.NoSubSpaceException |
Specialized exception for inexistent sub-space.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getDimension() |
Get the dimension of the space.
|
static Euclidean1D |
getInstance() |
Get the unique instance.
|
Space |
getSubSpace() |
Get the n-1 dimension subspace of this space.
|
public static Euclidean1D getInstance()
public int getDimension()
getDimension
in interface Space
public Space getSubSpace() throws Euclidean1D.NoSubSpaceException
As the 1-dimension Euclidean space does not have proper sub-spaces,
this method always throws a Euclidean1D.NoSubSpaceException
getSubSpace
in interface Space
Euclidean1D.NoSubSpaceException
- in all casesSpace.getDimension()
Copyright © 2016–2018 Hipparchus.org. All rights reserved.