Package elki.visualization.projections
Interface FullProjection
-
- All Superinterfaces:
Projection
,VisualizationItem
- All Known Implementing Classes:
AbstractFullProjection
,AbstractSimpleProjection
,AffineProjection
,Simple1D
,Simple2D
public interface FullProjection extends Projection
Full vector space projections. These rather portable projections offer a large choice of functions, at the cost of often being a bit slower than the low level functions. Note: this interface and methods may be removed, unless there is a clear use case for them as opposed to always using the low-level fast projections.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from interface elki.visualization.projections.Projection
INVSCALE, SCALE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]
projectDataToRenderSpace(double[] data)
Project a data vector from data space to rendering space.double[]
projectDataToRenderSpace(NumberVector data)
Project a data vector from data space to rendering space.double[]
projectDataToScaledSpace(double[] data)
Project a data vector from data space to scaled space.double[]
projectDataToScaledSpace(NumberVector data)
Project a data vector from data space to scaled space.double[]
projectRelativeDataToRenderSpace(double[] data)
Project a relative data vector from data space to rendering space.double[]
projectRelativeDataToRenderSpace(NumberVector data)
Project a relative data vector from data space to rendering space.double[]
projectRelativeDataToScaledSpace(double[] data)
Project a relative data vector from data space to scaled space.double[]
projectRelativeDataToScaledSpace(NumberVector data)
Project a relative data vector from data space to scaled space.<NV extends NumberVector>
NVprojectRelativeRenderToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a relative vector from rendering space to data space.double[]
projectRelativeRenderToScaled(double[] v)
Project a relative vector from rendering space to scaled space.<NV extends NumberVector>
NVprojectRelativeScaledToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a relative vector from scaled space to data space.double[]
projectRelativeScaledToRender(double[] v)
Project a relative vector from scaled space to rendering space.<NV extends NumberVector>
NVprojectRenderToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a vector from rendering space to data space.double[]
projectRenderToScaled(double[] v)
Project a vector from rendering space to scaled space.<NV extends NumberVector>
NVprojectScaledToDataSpace(double[] v, NumberVector.Factory<NV> factory)
Project a vector from scaled space to data space.double[]
projectScaledToRender(double[] v)
Project a vector from scaled space to rendering space.-
Methods inherited from interface elki.visualization.projections.Projection
getInputDimensionality, getProjector, getScale
-
Methods inherited from interface elki.visualization.VisualizationItem
getMenuName
-
-
-
-
Method Detail
-
projectScaledToRender
double[] projectScaledToRender(double[] v)
Project a vector from scaled space to rendering space.- Parameters:
v
- vector in scaled space- Returns:
- vector in rendering space
-
projectRenderToScaled
double[] projectRenderToScaled(double[] v)
Project a vector from rendering space to scaled space.- Parameters:
v
- vector in rendering space- Returns:
- vector in scaled space
-
projectRelativeScaledToRender
double[] projectRelativeScaledToRender(double[] v)
Project a relative vector from scaled space to rendering space.- Parameters:
v
- relative vector in scaled space- Returns:
- relative vector in rendering space
-
projectRelativeRenderToScaled
double[] projectRelativeRenderToScaled(double[] v)
Project a relative vector from rendering space to scaled space.- Parameters:
v
- relative vector in rendering space- Returns:
- relative vector in scaled space
-
projectDataToScaledSpace
double[] projectDataToScaledSpace(NumberVector data)
Project a data vector from data space to scaled space.- Parameters:
data
- vector in data space- Returns:
- vector in scaled space
-
projectDataToScaledSpace
double[] projectDataToScaledSpace(double[] data)
Project a data vector from data space to scaled space.- Parameters:
data
- vector in data space- Returns:
- vector in scaled space
-
projectRelativeDataToScaledSpace
double[] projectRelativeDataToScaledSpace(NumberVector data)
Project a relative data vector from data space to scaled space.- Parameters:
data
- relative vector in data space- Returns:
- relative vector in scaled space
-
projectRelativeDataToScaledSpace
double[] projectRelativeDataToScaledSpace(double[] data)
Project a relative data vector from data space to scaled space.- Parameters:
data
- relative vector in data space- Returns:
- relative vector in scaled space
-
projectDataToRenderSpace
double[] projectDataToRenderSpace(NumberVector data)
Project a data vector from data space to rendering space.- Parameters:
data
- vector in data space- Returns:
- vector in rendering space
-
projectDataToRenderSpace
double[] projectDataToRenderSpace(double[] data)
Project a data vector from data space to rendering space.- Parameters:
data
- vector in data space- Returns:
- vector in rendering space
-
projectScaledToDataSpace
<NV extends NumberVector> NV projectScaledToDataSpace(double[] v, NumberVector.Factory<NV> factory)
Project a vector from scaled space to data space.- Type Parameters:
NV
- double[] type- Parameters:
v
- vector in scaled spacefactory
- Object factory- Returns:
- vector in data space
-
projectRenderToDataSpace
<NV extends NumberVector> NV projectRenderToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a vector from rendering space to data space.- Type Parameters:
NV
- double[] type- Parameters:
v
- vector in rendering spaceprototype
- Object factory- Returns:
- vector in data space
-
projectRelativeDataToRenderSpace
double[] projectRelativeDataToRenderSpace(NumberVector data)
Project a relative data vector from data space to rendering space.- Parameters:
data
- relative vector in data space- Returns:
- relative vector in rendering space
-
projectRelativeDataToRenderSpace
double[] projectRelativeDataToRenderSpace(double[] data)
Project a relative data vector from data space to rendering space.- Parameters:
data
- relative vector in data space- Returns:
- relative vector in rendering space
-
projectRelativeScaledToDataSpace
<NV extends NumberVector> NV projectRelativeScaledToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a relative vector from scaled space to data space.- Type Parameters:
NV
- double[] type- Parameters:
v
- relative vector in scaled spaceprototype
- Object factory- Returns:
- relative vector in data space
-
projectRelativeRenderToDataSpace
<NV extends NumberVector> NV projectRelativeRenderToDataSpace(double[] v, NumberVector.Factory<NV> prototype)
Project a relative vector from rendering space to data space.- Type Parameters:
NV
- double[] type- Parameters:
v
- relative vector in rendering spaceprototype
- Object factory- Returns:
- relative vector in data space
-
-