Interface RealTransform

    • Method Detail

      • apply

        double[] apply​(double[] f)
        Returns the transform of the specified data set.
        Specified by:
        apply in interface Function<double[],​double[]>
        Parameters:
        f - the data array to be transformed (signal).
        Returns:
        the transformed array (spectrum).
        Throws:
        IllegalArgumentException - if the transform cannot be performed.
      • apply

        default double[] apply​(DoubleUnaryOperator f,
                               double min,
                               double max,
                               int n)
        Returns the transform of the specified function.
        Parameters:
        f - Function to be sampled and transformed.
        min - Lower bound (inclusive) of the interval.
        max - Upper bound (exclusive) of the interval.
        n - Number of sample points.
        Returns:
        the result.
        Throws:
        IllegalArgumentException - if the transform cannot be performed.