java.lang.Object
org.opensourcephysics.numerics.specialfunctions.Laguerre

public class Laguerre extends Object
Computes Laguerre polynomials and associated Laguerre polynomials.
Version:
1.0
Author:
W. Christian
  • Method Details

    • getPolynomial

      public static Polynomial getPolynomial(int n)
      Gets the n-th Laguerre polynomial. If the polynomial has already been calculated it is returned from the list. Uses the recurrence relationship to construct new polynomials based on lower order polynomials.
    • getPolynomial

      public static Polynomial getPolynomial(int n, int k)
      Gets the associated Laguerre polynomial. If the polynomial has already been calculated it is returned from the list. Uses the recurrence relationship to construct new polynomials based on lower order polynomials.
    • evaluate

      public static double evaluate(int n, double x)
      Evaluates the n-th Laguerre polynomial at x.
      Returns:
      the value of the function