Class InverseLaplace

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double largestPole
      Don't include a time == 0.
      private double[] logT
      DOCUMENT ME!
      private double[] time
      DOCUMENT ME!
      private double[] timeFunction
      resulting vector of real-space values.
      private double tol
      numerical tolerance of approaching pole (default 1.0e-9).
      private int tPts
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      InverseLaplace​(double[] time)
      Constructor for InverseLaplace.
      InverseLaplace​(double[] time, double largestPole, double tol)
      Constructor for InverseLaplace.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void driver()
      driver.
      abstract double[][] fitToLaplace​(double realS, double[] imagS)
      Returns 'a' coefficients in power series where the second index is 0 for the real part and 1 for the imaginary part.
      double[] getTimeFunction()
      getTimeFunction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • largestPole

        private double largestPole
        Don't include a time == 0. This will give a -inifinity when the log of the time is taken. largest pole of Laplace space function (default zero) Note that InverseLaplace may give incorrect results if the default value of largestPole is used. For example, the function exp(t) with the Laplace transform 1/(s-1) will give correct results if largestPole is set to 1.0, but will return incorrect negative values for time >= 1.0 if the largestPole default of 0.0 is used.
      • logT

        private double[] logT
        DOCUMENT ME!
      • time

        private double[] time
        DOCUMENT ME!
      • timeFunction

        private double[] timeFunction
        resulting vector of real-space values.
      • tol

        private double tol
        numerical tolerance of approaching pole (default 1.0e-9).
      • tPts

        private int tPts
        DOCUMENT ME!
    • Constructor Detail

      • InverseLaplace

        public InverseLaplace​(double[] time)
        Constructor for InverseLaplace.
        Parameters:
        time - DOCUMENT ME!
      • InverseLaplace

        public InverseLaplace​(double[] time,
                              double largestPole,
                              double tol)
        Constructor for InverseLaplace.
        Parameters:
        time - DOCUMENT ME!
        largestPole - DOCUMENT ME!
        tol - DOCUMENT ME!
    • Method Detail

      • fitToLaplace

        public abstract double[][] fitToLaplace​(double realS,
                                                double[] imagS)
        Returns 'a' coefficients in power series where the second index is 0 for the real part and 1 for the imaginary part.
        Parameters:
        realS - DOCUMENT ME!
        imagS - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • driver

        public void driver()
        driver.
      • getTimeFunction

        public double[] getTimeFunction()
        getTimeFunction.
        Returns:
        timeFunction