Documentation of 'Catalano.Math.TaylorSeries' Java class
TaylorSeries
Catalano.Math

Class TaylorSeries



  • public final class TaylorSeries
    extends java.lang.Object
    Compute functions using Taylor series expansion.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double Cos(double x, int nTerms)
      Compute Cos using Taylor Series.
      static double Cosh(double x, int nTerms)
      Compute Cosh using Taylor Series.
      static double Exp(double x, int nTerms)
      Compute Exp using Taylor Series.
      static double Sin(double x, int nTerms)
      Compute Sin using Taylor Series.
      static double Sinh(double x, int nTerms)
      Compute Sinh using Taylor Series.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • Sin

        public static double Sin(double x,
                                 int nTerms)
        Compute Sin using Taylor Series.
        Parameters:
        x - An angle, in radians.
        nTerms - Number of terms.
        Returns:
        Result.
      • Cos

        public static double Cos(double x,
                                 int nTerms)
        Compute Cos using Taylor Series.
        Parameters:
        x - An angle, in radians.
        nTerms - Number of terms.
        Returns:
        Result.
      • Sinh

        public static double Sinh(double x,
                                  int nTerms)
        Compute Sinh using Taylor Series.
        Parameters:
        x - An angle, in radians.
        nTerms - Number of terms.
        Returns:
        Result.
      • Cosh

        public static double Cosh(double x,
                                  int nTerms)
        Compute Cosh using Taylor Series.
        Parameters:
        x - An angle, in radians.
        nTerms - Number of terms.
        Returns:
        Result.
      • Exp

        public static double Exp(double x,
                                 int nTerms)
        Compute Exp using Taylor Series.
        Parameters:
        x - An angle, in radians.
        nTerms - Number of terms.
        Returns:
        Result.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.