Package com.polytechnik.utils
Class OrthogonalPolynomialsLegendreShiftedBasis
java.lang.Object
com.polytechnik.utils.OrthogonalPolynomialsBasisFunctionsCalculatable<LegendreShifted>
com.polytechnik.utils.OrthogonalPolynomialsLegendreShiftedBasis
public class OrthogonalPolynomialsLegendreShiftedBasis
extends OrthogonalPolynomialsBasisFunctionsCalculatable<LegendreShifted>
Manupulate orthogonal polynomials using shifted Legendre as basis.
-
Field Summary
Fields inherited from class com.polytechnik.utils.OrthogonalPolynomialsBasisFunctionsCalculatable
B, EV
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getRadauMultiplied
(double[] nodes0) Multiply nodes0 polynomial, P(x)=\sum_{k=0}^{k=n} nodes0[k] Q_k(x), by (x-x0) or (x0-x) , whatever is positive to obtain Radau nodes polynomial.static void
A unit test.Methods inherited from class com.polytechnik.utils.OrthogonalPolynomialsBasisFunctionsCalculatable
getAB, getABFromQuadrature, getABRadauModified, getChristoffelOFunctionFromMatrix, getChristoffelOFunctionFromMoments, getChristoffelOFunctionFromPolynomials, getDensityMatrixProducingGivenPolynomial, getEVSolver, getGaussQuadratureFromAB, getGaussQuadratureFromMoments, getGaussQuadratureFromMoments_Direct, getGaussQuadratureFromPolynomials, getGramSchmidtOrthogonalized, getKronrodQuadrature, getLebesgueQuadratureFromMatrices, getLebesgueQuadratureFromMoments, getMomentsFromAB, getMomentsFromPolynomials, getMultipleOrthogonalPolynomial_TypeII, getOrthogonalized, getOrthogonalPolynomialsFirstKind, getOrthogonalPolynomialsFirstKindFromAB, getOrthogonalPolynomialsFromAB, getOrthogonalPolynomialsSecondKindFromAB, getPolynomialRootsFinderInBasis, getQuadraturesForMultipleOrthogonalPolynomial, getRadauMomentsFromMoments, getRadauPolynomials, getRadauQuadratureFromMoments, getRadauQuadratureFromPolynomials, getRadauRoot, getSecondKindOrthogonalPolynomialsFromFirstKind, getSignToMatch, getSingleOrthogonalPolynomial, getWeights, getWeightsByIntegration, getWeightsChristoffel, getXNodes, getXNodesFromAB, getxP, printAB, printQuadratures
-
Constructor Details
-
OrthogonalPolynomialsLegendreShiftedBasis
public OrthogonalPolynomialsLegendreShiftedBasis()
-
-
Method Details
-
getRadauMultiplied
public double[] getRadauMultiplied(double[] nodes0) Description copied from class:OrthogonalPolynomialsBasisFunctionsCalculatable
Multiply nodes0 polynomial, P(x)=\sum_{k=0}^{k=n} nodes0[k] Q_k(x), by (x-x0) or (x0-x) , whatever is positive to obtain Radau nodes polynomial. The method has to be implemented if Radau quadrature is required, the default version throws an exception.- Overrides:
getRadauMultiplied
in classOrthogonalPolynomialsBasisFunctionsCalculatable<LegendreShifted>
-
main
A unit test.
-