Package jline.lib.butools
Class CheckMoments
java.lang.Object
jline.lib.butools.CheckMoments
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleancheckMoments(Matrix m, double prec) Checks if the given moment sequence is valid in the sense that it belongs to a distribution with support (0,inf).
-
Method Details
-
checkMoments
Checks if the given moment sequence is valid in the sense that it belongs to a distribution with support (0,inf). This procedure checks the determinant of Delta_n and Delta_n^(1) according to the Stieltjes moment problem.- Parameters:
m- The (raw) moments to check (starts with the first moment). Its length must be odd.prec- Entries with absolute value less than prec are considered to be zeros.- Returns:
- The result of the check.
-
checkMoments
-