Package org.hipparchus.samples.complex
Class SawToothModuleValue
- java.lang.Object
-
- org.hipparchus.samples.complex.DomainColoring
-
- org.hipparchus.samples.complex.SawToothModuleValue
-
public class SawToothModuleValue extends DomainColoring
Domain coloring enhancing modules changes.Value represents module but uses a sawtooth function.
The sawtooth function is computed from a base 2 logarithm and fractional parts. It enhances modules changes with discontinuities and dark rings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SawToothModuleValue(double saturation)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
value(Complex z)
Get value for a complex value.-
Methods inherited from class org.hipparchus.samples.complex.DomainColoring
hue, saturation
-
-
-
-
Method Detail
-
value
public double value(Complex z)
Get value for a complex value.- Specified by:
value
in classDomainColoring
- Parameters:
z
- complex value- Returns:
- value
-
-