Class TaylorSeries

Object
TaylorSeries

public class TaylorSeries
extends Object
The methods in TaylorSeries produce Taylor Series for functions.
  • Method Summary

    Modifier and Type Method Description
    static GeneralFunction makeTaylorSeries​(GeneralFunction function, int degree)
    Returns a Maclaurin series of the specified function of a given degree
    static GeneralFunction makeTaylorSeries​(GeneralFunction function, int degree, double center)
    Returns a Taylor series of the specified function at the specified center of a given degree

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • makeTaylorSeries

      public static GeneralFunction makeTaylorSeries​(GeneralFunction function, int degree)
      Returns a Maclaurin series of the specified function of a given degree
      Parameters:
      function - the function whose Maclaurin series is being found
      degree - the degree of the Maclaurin polynomial
      Returns:
      a Maclaurin series of the specified function
    • makeTaylorSeries

      public static GeneralFunction makeTaylorSeries​(GeneralFunction function, int degree, double center)
      Returns a Taylor series of the specified function at the specified center of a given degree
      Parameters:
      function - the function whose Taylor series is being found
      degree - the degree of the Taylor polynomial
      center - where the Taylor series is centered
      Returns:
      a Taylor series of the specified function