public class Simple1D extends AbstractSimpleProjection implements Projection1D
Modifier and Type | Field and Description |
---|---|
(package private) int |
dnum
Our dimension, starting with 0
|
scales
SCALE
Constructor and Description |
---|
Simple1D(Projector p,
LinearScale[] scales,
int dnum)
Simple 1D projection using scaling only.
|
Modifier and Type | Method and Description |
---|---|
protected Vector |
dearrange(Vector v)
Undo the rearrangement of components.
|
double |
fastProjectDataToRenderSpace(NumberVector data)
Project a data vector from data space to rendering space.
|
double |
fastProjectDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space.
|
double |
fastProjectRelativeDataToRenderSpace(NumberVector data)
Project a data vector from data space to rendering space.
|
double |
fastProjectRelativeDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space.
|
double |
fastProjectRelativeScaledToRender(Vector v)
Project a vector from scaled space to rendering space.
|
double |
fastProjectScaledToRender(Vector v)
Project a vector from scaled space to rendering space.
|
protected Vector |
rearrange(Vector v)
Method to rearrange components.
|
flipSecondEquals, projectRelativeRenderToScaled, projectRelativeScaledToRender, projectRenderToScaled, projectScaledToRender
projectDataToRenderSpace, projectDataToRenderSpace, projectDataToScaledSpace, projectDataToScaledSpace, projectRelativeDataToRenderSpace, projectRelativeDataToRenderSpace, projectRelativeDataToScaledSpace, projectRelativeDataToScaledSpace, projectRelativeRenderToDataSpace, projectRelativeScaledToDataSpace, projectRenderToDataSpace, projectScaledToDataSpace
getInputDimensionality, getMenuName, getProjector, getScale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputDimensionality, getProjector, getScale
getMenuName
public Simple1D(Projector p, LinearScale[] scales, int dnum)
p
- Projectorscales
- Scales to usednum
- Dimension (starting at 0)public double fastProjectDataToRenderSpace(Vector data)
Projection1D
fastProjectDataToRenderSpace
in interface Projection1D
data
- vector in data spacepublic double fastProjectDataToRenderSpace(NumberVector data)
Projection1D
fastProjectDataToRenderSpace
in interface Projection1D
data
- vector in data spacepublic double fastProjectScaledToRender(Vector v)
Projection1D
fastProjectScaledToRender
in interface Projection1D
v
- vector in scaled spacepublic double fastProjectRelativeDataToRenderSpace(Vector data)
Projection1D
fastProjectRelativeDataToRenderSpace
in interface Projection1D
data
- vector in data spacepublic double fastProjectRelativeDataToRenderSpace(NumberVector data)
Projection1D
fastProjectRelativeDataToRenderSpace
in interface Projection1D
data
- vector in data spacepublic double fastProjectRelativeScaledToRender(Vector v)
Projection1D
fastProjectRelativeScaledToRender
in interface Projection1D
v
- vector in scaled spaceprotected Vector rearrange(Vector v)
AbstractSimpleProjection
rearrange
in class AbstractSimpleProjection
v
- Vector to rearrangeprotected Vector dearrange(Vector v)
AbstractSimpleProjection
dearrange
in class AbstractSimpleProjection
v
- Vector to undo the rearrangementCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.