public final class Euclidean1D extends Object implements Space
Modifier and Type | Method and 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()
As the 1-dimension Euclidean space does not have proper sub-spaces, this method always throws a
MathUnsupportedOperationException
getSubSpace
in interface Space
MathUnsupportedOperationException
- in all casesSpace.getDimension()
Copyright © 2023 CNES. All rights reserved.