Package com.polytechnik.utils
Class LegendreShifted.TestBasisLegendreShifted
java.lang.Object
com.polytechnik.utils.TestBasisFunctionsCalculatable
com.polytechnik.utils.TestBasisPolynomials
com.polytechnik.utils.LegendreShifted.TestBasisLegendreShifted
-
Field Summary
Fields inherited from class com.polytechnik.utils.TestBasisPolynomials
B
Fields inherited from class com.polytechnik.utils.TestBasisFunctionsCalculatable
eps, PBASIS_CONVERSION_TEST, PBASIS_CONVERSION_TEST_WITHOUT_Laguerre_AND_HermiteE, r, txt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
checkRadauExactWeights
(double[] xs, double[] ws, double eps) Check Radau exact weights from Walter Gautschi, "Gauss-Radau formulae for Jacobi and Laguerre weight functions".(package private) double[][]
getExact()
(package private) double[]
getMonomialsMoments
(int n) (package private) OrthogonalPolynomialsLegendreShiftedBasis
(package private) void
print_Extra
(int nmax) private void
printAllQuadratures
(int nmax) (package private) void
printDeltaFunctionRoots
(PolynomialRootsFinder rf, int neq) (package private) void
printQuadratures
(PolynomialRootsFinder rf, int n) (package private) void
printRadauQuadratures2
(PolynomialRootsFinder rf, int neq, Random r) (package private) void
printTestRoots
(PolynomialRootsFinder rf, int n) (package private) void
test_Extra
(int n_tests, int nmax) (package private) void
test_getLegendreAveraged
(int n_tests) (package private) void
test_getLegendreFromPByIntegration
(int n_tests) (package private) void
test_getXPnplusPn
(int n_tests) (package private) void
test_setQlQmExpansionCoefs
(int n_tests, int nmax) Methods inherited from class com.polytechnik.utils.TestBasisPolynomials
getNextType2, printPolynomialsType2, runSingleTest, runSingleTestInSerie, runTests, test_ExactValues, test_getBasisFunctionsMultipliedByPolynomial, test_getBasisFunctionsOnPolynomialArgument, test_setNewtonBinomialLikeCoefs, test_Sum, test_Sum_PBASIS
Methods inherited from class com.polytechnik.utils.TestBasisFunctionsCalculatable
matchmul, printPolynomials, runTests, runTestsOneN, test_ConfederateMatrix, test_getaxbP, test_MomentsCalculation, test_MomentsCalculation2, test_mult2Pol, test_sdiv, test_sdiv1, test_simpleSum, test_simpleSum_PBASIS
-
Constructor Details
-
TestBasisLegendreShifted
TestBasisLegendreShifted() -
TestBasisLegendreShifted
TestBasisLegendreShifted(Random r, double eps)
-
-
Method Details
-
getMonomialsMoments
double[] getMonomialsMoments(int n) - Specified by:
getMonomialsMoments
in classTestBasisPolynomials
-
getOrtPol
OrthogonalPolynomialsLegendreShiftedBasis getOrtPol()- Specified by:
getOrtPol
in classTestBasisPolynomials
-
getExact
double[][] getExact()- Specified by:
getExact
in classTestBasisPolynomials
-
printAllQuadratures
private void printAllQuadratures(int nmax) -
printQuadratures
-
printTestRoots
-
printRadauQuadratures2
-
checkRadauExactWeights
void checkRadauExactWeights(double[] xs, double[] ws, double eps) Check Radau exact weights from Walter Gautschi, "Gauss-Radau formulae for Jacobi and Laguerre weight functions". -
printDeltaFunctionRoots
-
test_setQlQmExpansionCoefs
void test_setQlQmExpansionCoefs(int n_tests, int nmax) - Overrides:
test_setQlQmExpansionCoefs
in classTestBasisFunctionsCalculatable
-
test_getLegendreFromPByIntegration
void test_getLegendreFromPByIntegration(int n_tests) -
test_getLegendreAveraged
void test_getLegendreAveraged(int n_tests) -
test_getXPnplusPn
void test_getXPnplusPn(int n_tests) -
print_Extra
void print_Extra(int nmax) - Overrides:
print_Extra
in classTestBasisPolynomials
-
test_Extra
void test_Extra(int n_tests, int nmax) - Overrides:
test_Extra
in classTestBasisPolynomials
-