Class InverseLaplaceqd

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) double endTime
      DOCUMENT ME!
      private double largestPole
      largest pole of Laplace space function (default zero) Note that InverseLaplace may give incorrect results if the default value of largestPole is used.
      private int p
      DOCUMENT ME!
      private double[] time
      resulting vector of times.
      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
      InverseLaplaceqd​(int timePoints, double endTime)
      Constructor for InverseLaplaceqd.
      InverseLaplaceqd​(int timePoints, double endTime, double largestPole, double tol, int matrixSizeParameter)
      Constructor for InverseLaplaceqd.
    • 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)
      The second index is 0 for the real part and 1 for the imaginary part.
      double[] getTime()
      getTime.
      double[] getTimeFunction()
      getTimeFunction.
      • Methods inherited from class java.lang.Object

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

      • endTime

        double endTime
        DOCUMENT ME!
      • largestPole

        private double largestPole
        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.
      • p

        private int p
        DOCUMENT ME!
      • time

        private double[] time
        resulting vector of times.
      • 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 final int tPts
        DOCUMENT ME!
    • Constructor Detail

      • InverseLaplaceqd

        public InverseLaplaceqd​(int timePoints,
                                double endTime)
        Constructor for InverseLaplaceqd.
        Parameters:
        timePoints - int
        endTime - double
      • InverseLaplaceqd

        public InverseLaplaceqd​(int timePoints,
                                double endTime,
                                double largestPole,
                                double tol,
                                int matrixSizeParameter)
        Constructor for InverseLaplaceqd.
        Parameters:
        timePoints - int
        endTime - double
        largestPole - double
        tol - double
        matrixSizeParameter - int
    • Method Detail

      • fitToLaplace

        public abstract double[][] fitToLaplace​(double realS,
                                                double[] imagS)
        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.
      • getTime

        public double[] getTime()
        getTime.
        Returns:
        time
      • getTimeFunction

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