Chalkboard - v3.0.4
    Preparing search index...

    Function iFourier

    • Calculates the inverse Fourier transform of a function at a value within an interval.

      Parameters

      • func: ChalkboardFunction

        The function

      • val: number

        The value

      • Optionalinf: number = 0

        The lower bound

      • Optionalsup: number = 10

        The upper bound

      • Optionalsteps: number = 10000

        The number of steps for numerical integration

      Returns number

      const spectrum = Chalkboard.real.define((x) => Math.exp(-x * x));
      const value = Chalkboard.calc.iFourier(spectrum, 0, -5, 5); // Evaluates the inverse transform at zero