Package elki.math
Class SinCosTable.FullTable
- java.lang.Object
-
- elki.math.SinCosTable
-
- elki.math.SinCosTable.FullTable
-
- Enclosing class:
- SinCosTable
private static class SinCosTable.FullTable extends SinCosTable
Table that can't exploit much symmetry, because the steps are not divisible by 2.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
costable
Data storeprivate double[]
sintable
Data store-
Fields inherited from class elki.math.SinCosTable
steps
-
-
Constructor Summary
Constructors Constructor Description FullTable(int steps)
Constructor for tables with
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
cos(int step)
Get Cosine by step value.double
sin(int step)
Get Sinus by step value.-
Methods inherited from class elki.math.SinCosTable
make
-
-
-
-
Method Detail
-
cos
public double cos(int step)
Get Cosine by step value.- Specified by:
cos
in classSinCosTable
- Parameters:
step
- Step value- Returns:
- Cosinus
-
sin
public double sin(int step)
Get Sinus by step value.- Specified by:
sin
in classSinCosTable
- Parameters:
step
- Step value- Returns:
- Sinus
-
-