|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.polynomials.OrthogonalDoublePolynomialFactory
org.jscience.mathematics.analysis.polynomials.LegendreDoublePolynomialFactory
public final class LegendreDoublePolynomialFactory
This class implements Legendre polynomials.
Legendre polynomials can be defined by the following recurrence relations:
P0(X) = 1
P1(X) = X
(k+1) Pk+1(X) = (2k+1) X Pk(X) - k Pk-1(X)
| Constructor Summary | |
|---|---|
LegendreDoublePolynomialFactory()
|
|
| Method Summary | |
|---|---|
Polynomial[] |
getFirstTermsPolynomials()
Initialize the recurrence coefficients for degree 0 and 1. |
DoublePolynomial |
getOrthogonalPolynomial(int degree)
Simple constructor. |
Field.Member[] |
getRecurrenceCoefficients(int k)
Initialize the recurrence coefficients. |
| Methods inherited from class org.jscience.mathematics.analysis.polynomials.OrthogonalDoublePolynomialFactory |
|---|
getOrthogonalPolynomialCoefficients |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegendreDoublePolynomialFactory()
| Method Detail |
|---|
public DoublePolynomial getOrthogonalPolynomial(int degree)
getOrthogonalPolynomial in interface OrthogonalPolynomialFactorygetOrthogonalPolynomial in class OrthogonalDoublePolynomialFactorydegree - degree of the polynomial
public Polynomial[] getFirstTermsPolynomials()
getFirstTermsPolynomials in interface OrthogonalPolynomialFactorygetFirstTermsPolynomials in class OrthogonalDoublePolynomialFactorypublic Field.Member[] getRecurrenceCoefficients(int k)
getRecurrenceCoefficients in interface OrthogonalPolynomialFactorygetRecurrenceCoefficients in class OrthogonalDoublePolynomialFactoryk - index of the current step
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||