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 Details

    • SawToothModuleValue

      protected SawToothModuleValue(double saturation)
      Simple constructor.
      Parameters:
      saturation - constant saturation
  • Method Details

    • value

      public double value(Complex z)
      Get value for a complex value.
      Specified by:
      value in class DomainColoring
      Parameters:
      z - complex value
      Returns:
      value