Package org.hipparchus.samples.complex
Class SawToothModuleValue
java.lang.Object
org.hipparchus.samples.complex.DomainColoring
org.hipparchus.samples.complex.SawToothModuleValue
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
ModifierConstructorDescriptionprotected
SawToothModuleValue
(double saturation) Simple constructor. -
Method Summary
Methods inherited from class org.hipparchus.samples.complex.DomainColoring
hue, saturation
-
Constructor Details
-
SawToothModuleValue
protected SawToothModuleValue(double saturation) Simple constructor.- Parameters:
saturation
- constant saturation
-
-
Method Details
-
value
Get value for a complex value.- Specified by:
value
in classDomainColoring
- Parameters:
z
- complex value- Returns:
- value
-