Class Sinc

    • Constructor Detail

      • Sinc

        public Sinc()
        The sinc function, sin(x) / x.
      • Sinc

        public Sinc​(boolean normalized)
        Instantiates the sinc function.
        Parameters:
        normalized - If true, the function is sin(πx) / πx, otherwise sin(x) / x.
    • Method Detail

      • value

        public double value​(double x)
        Compute the value of the function.
        Specified by:
        value in interface UnivariateFunction
        Parameters:
        x - Point at which the function value should be computed.
        Returns:
        the value of the function.