2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 19:52:08 +00:00
Commit Graph

1861 Commits

Author SHA1 Message Date
Nick Thompson
ae17d3a8a3 Use quadratic_roots to simplify M2M4 SNR estimator. [CI SKIP] 2018-12-27 14:22:12 -07:00
Nick Thompson
bee2889e85 Change solve_quadratic to quadratic_roots. [CI SKIP] 2018-12-27 12:44:46 -07:00
Nick Thompson
eab2b5260e Solve quadratic equations 2018-12-26 18:30:02 -07:00
Nick Thompson
4848accb77 Add unit tests demonstrating that the kurtosis of various continuous distributions is calculated correctly. Add excess_kurtosis to make clear the working definition of kurtosis. [CI SKIP] 2018-12-25 23:00:46 -07:00
Nick Thompson
f51e55c3cb Take advice of cppcheck [CI SKIP] 2018-12-18 11:46:46 -07:00
Nick Thompson
aa91164f0e Documentation cleanup [CI SKIP] 2018-12-17 15:11:15 -07:00
Nick Thompson
d509957642 Instead of using 'population_stat' in calls, simply call 'stat', and provide 'sample_stat' when an unbiased estimator of stat exists. [CI SKIP] 2018-12-17 14:39:30 -07:00
Nick Thompson
b93acf94b2 Do not add Shannon entropy and Shannon cost until I have an use for them; without a use, serious design errors are easily made. [CI SKIP] 2018-12-17 11:45:38 -07:00
Nick Thompson
4d85b85a5c Do not allow computation of sparsity of a vector with a single element. [CI SKIP] 2018-12-17 00:18:16 -07:00
Nick Thompson
cee62a833c Add unit tests for Gini coefficient for uniform and exponential distribution of values. [CI SKIP] 2018-12-16 23:05:00 -07:00
Nick Thompson
efdafa2643 Add notes about beliefs about M2M4; add notes about potential improvements [CI SKIP] 2018-12-14 13:02:12 -07:00
Nick Thompson
3c13c588b0 Pearson's correlation coefficient [CI SKIP] 2018-12-14 12:27:10 -07:00
Nick Thompson
dc521aeb11 Clarify a case where solution to M2M4 estimator system does not exist. Split off a degenerate case where the signal is constant. [CI SKIP] 2018-12-13 11:45:52 -07:00
Nick Thompson
d940760e0b Implement the M2M4 SNR estimator. 2018-12-12 22:40:30 -07:00
Nick Thompson
87f4bc9b11 Add skewness and kurtosis [CI SKIP] 2018-12-11 14:01:28 -07:00
Nick Thompson
b0b0a6bb59 Add oracle_snr to signal_statistics [CI SKIP] 2018-12-11 10:53:33 -07:00
Nick Thompson
fb2ae307d6 Computation of covariance. [CI SKIP] 2018-12-10 14:38:42 -07:00
Nick Thompson
94ceca1e43 Split descriptive_statistics.hpp into univariate_statistics.hpp and a currently-hypothetical bivariate_statistics.hpp [CI SKIP] 2018-12-10 12:05:05 -07:00
Nick Thompson
1a246db791 Change from vector_functionals.hpp to descriptive_statistics.hpp and norms.hpp. 2018-12-08 20:53:14 -07:00
Nick Thompson
38dd139b0a Get rid of grotesque typedefs and change to using declaration. [CI SKIP] 2018-12-08 20:11:38 -07:00
Nick Thompson
5f143244f5 Fully qualify std::nth_element, add tests for std::array. [CI SKIP] 2018-12-08 14:09:21 -07:00
Nick Thompson
37c9b68aa6 Merge branch 'develop' into sequence_tools [CI SKIP] 2018-12-08 12:29:36 -07:00
Nick Thompson
b7dabe272c Add branches for integral input types where sensible. [CI SKIP] 2018-12-08 12:29:05 -07:00
Nick Thompson
5a0ff712bd Add range calls. [CI SKIP] 2018-12-08 11:11:35 -07:00
Nick Thompson
bce92d78ba Add Shannon entropy and kick off build. 2018-12-07 18:44:40 -07:00
Nick Thompson
60f653a1fe L1 and L2 norms. [CI SKIP] 2018-12-07 15:05:14 -07:00
Nick Thompson
53d4ffe99e Merge branch 'develop' into sequence_tools 2018-12-07 10:35:50 -07:00
Nick Thompson
01c004bb06 Remove useless termination criteria [CI SKIP] 2018-12-07 10:17:33 -07:00
Nick Thompson
d2bf1b18fd Merge branch 'develop' into complex_newton 2018-12-07 09:03:08 -07:00
Nick Thompson
a9985e3e1c Hoyer sparsity [CI SKIP] 2018-12-07 09:02:25 -07:00
jzmaddock
0152cfa2a9 Incomplete gamma: add asymptotic approximation for large argument.
Allows the functions to be used with very large (or infinite) argument.
Fixes: https://github.com/boostorg/math/issues/168.
2018-12-07 09:37:50 +00:00
Nick Thompson
aa43b5b52b Vector functionals, first pass [CI SKIP] 2018-12-06 20:33:05 -07:00
Nick Thompson
37336e2372 Merge branch 'develop' into complex_newton 2018-12-04 14:28:52 -07:00
Nick Thompson
6e25e27d01 Merge branch 'develop' into complex_newton 2018-12-04 11:09:06 -07:00
Nick Thompson
baddf9509a The move constructor is 30% faster than the copy; hence remove the data copy and only allow move construction. [CI SKIP] 2018-12-02 13:34:51 -07:00
Nick Thompson
fd519a73d6 Implement suggestions from code review [CI SKIP] 2018-12-02 11:18:41 -07:00
jzmaddock
c0f236e251 Merge branch 'develop' into catmull_rom
Fixed Conflicts:
	doc/Jamfile.v2

Corrected some doc formatting, and regenerated the docs.
2018-12-01 19:38:16 +00:00
jzmaddock
33d3d0942f Merge branch 'polynomial_constructor' into develop 2018-12-01 11:21:27 +00:00
jzmaddock
7abcd6ef4a roots.hpp: Don't allow division by zero (or overflow) even though it's harmless in this case.
Fixes: https://github.com/boostorg/math/issues/164
2018-12-01 10:09:39 +00:00
jzmaddock
889793b51e Add missing file. 2018-11-30 19:59:06 +00:00
jzmaddock
db408fde2b roots.hpp: clean up code so that there is no division by zero possible.
Fixes: https://github.com/boostorg/math/issues/160.
2018-11-30 19:54:34 +00:00
jzmaddock
451afc3102 Fix polynomial template constructors. 2018-11-30 19:31:51 +00:00
Nick Thompson
d46f746cb3 Move to clustered roots termination criteria rather than range magnitude. [CI SKIP] 2018-11-28 16:31:13 -07:00
Nick Thompson
66373a0b22 Fix failing unit test by using semi-scale invariant termination criteria. [CI SKIP] 2018-11-28 14:35:34 -07:00
Nick Thompson
3ab69d00ee Complex Newton's method. Zero derivatives handled by Muller's Method. 2018-11-25 00:19:11 -07:00
Nick Thompson
5c790ac358 Polynomials now work with float128 [CI SKIP] 2018-11-15 01:58:46 -07:00
Nick Thompson
207303585a Small changes so that we can template the polynomials on complex types. 2018-11-14 21:38:41 -07:00
Nick Thompson
54f475e58f Add call operator, .prime(), .integrate(), and move constructor to polynomial.hpp 2018-11-14 17:04:57 -07:00
jzmaddock
b5eb687556 Tanh_sinh: Fix for https://github.com/boostorg/math/issues/155. 2018-11-14 18:55:11 +00:00
Nick Thompson
381f663517 Merge and run CI 2018-10-28 23:27:41 -06:00