issues.qbk 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. [section:issues Known Issues, and TODO List]
  2. Predominantly this is a TODO list, or a list of possible
  3. future enhancements. Items labled "High Priority" effect
  4. the proper functioning of the component, and should be fixed
  5. as soon as possible. Items labled "Medium Priority" are
  6. desirable enhancements, often pertaining to the performance
  7. of the component, but do not effect it's accuracy or functionality.
  8. Items labled "Low Priority" should probably be investigated at
  9. some point. Such classifications are obviously highly subjective.
  10. If you don't see a component listed here, then we don't have any known
  11. issues with it.
  12. [h4 tgamma]
  13. * Can the __lanczos be optimized any further? (low priority)
  14. [h4 Incomplete Beta]
  15. * Investigate Didonato and Morris' asymptotic expansion for large a and b
  16. (medium priority).
  17. [h4 Inverse Gamma]
  18. * Investigate whether we can skip iteration altogether if the first approximation
  19. is good enough (Medium Priority).
  20. [h4 Polynomials]
  21. * The Legendre and Laguerre Polynomials have surprisingly different error
  22. rates on different platforms, considering they are evaluated with only
  23. basic arithmetic operations. Maybe this is telling us something, or maybe not
  24. (Low Priority).
  25. [h4 Elliptic Integrals]
  26. * [para Carlson's algorithms (mainly R[sub J]) are somewhat prone to
  27. internal overflow/underflow when the arguments are very large or small.
  28. The homogeneity relations:]
  29. [para R[sub F](ka, kb, kc) = k[super -1/2] R[sub F](a, b, c)]
  30. [para and]
  31. [para R[sub J](ka, kb, kc, kr) = k[super -3/2] R[sub J](a, b, c, r)]
  32. [para could be used to sidestep trouble here: provided the problem domains
  33. can be accurately identified. (Medium Priority).]
  34. * There are a several other integrals: Bulirsch's ['el] functions that could
  35. be implemented using Carlson's integrals (Low Priority).
  36. * The integrals K(k) and E(k) could be implemented using rational
  37. approximations (both for efficiency and accuracy),
  38. assuming we can find them. (Medium Priority).
  39. [h4 Owen's T Function]
  40. There is a problem area at arbitrary precision when ['a] is very close to 1. However, note that
  41. the value for ['T(h, 1)] is well known and easy to compute, and if we replaced the
  42. ['a[super k]] terms in series T1, T2 or T4 by ['(a[super k] - 1)] then we would have the
  43. difference between ['T(h, a)] and ['T(h, 1)]. Unfortunately this doesn't improve the
  44. convergence of those series in that area. It certainly looks as though a new series in terms
  45. of ['(1-a)[super k]] is both possible and desirable in this area, but it remains elusive at present.
  46. [h4 Statistical distributions]
  47. * Student's t Perhaps switch to normal distribution
  48. as a better approximation for very large degrees of freedom?
  49. [h4 Feature Requests]
  50. The following table lists distributions that are found in other packages
  51. but which are not yet present here, the more frequently the distribution
  52. is found, the higher the priority for implementing it:
  53. [table
  54. [[Distribution][R][Mathematica 6][NIST][Regress+][Matlab]]
  55. [/3 votes:]
  56. [[Geometric][X][X][-][-][X]]
  57. [/2 votes:]
  58. [[Multinomial][X][-][-][-][X]]
  59. [[Tukey Lambda][X][-][X][-][-]]
  60. [[Half Normal / Folded Normal][-][X][-][X][-]]
  61. [[Chi][-][X][-][X][-]]
  62. [[Gumbel][-][X][-][X][-]]
  63. [[Discrete Uniform][-][X][-][-][X]]
  64. [[Log Series][-][X][-][X][-]]
  65. [[Nakagami (generalised Chi)][-][-][-][X][X]]
  66. [/1 vote:]
  67. [[Log Logistic][-][-][-][-][X]]
  68. [[Tukey (Studentized range)][X][-][-][-][-]]
  69. [[Wilcoxon rank sum][X][-][-][-][-]]
  70. [[Wincoxon signed rank][X][-][-][-][-]]
  71. [[Non-central Beta][X][-][-][-][-]]
  72. [[Maxwell][-][X][-][-][-]]
  73. [[Beta-Binomial][-][X][-][-][-]]
  74. [[Beta-negative Binomial][-][X][-][-][-]]
  75. [[Zipf][-][X][-][-][-]]
  76. [[Birnbaum-Saunders / Fatigue Life][-][-][X][-][-]]
  77. [[Double Exponential][-][-][X][-][-]]
  78. [[Power Normal][-][-][X][-][-]]
  79. [[Power Lognormal][-][-][X][-][-]]
  80. [[Cosine][-][-][-][X][-]]
  81. [[Double Gamma][-][-][-][X][-]]
  82. [[Double Weibul][-][-][-][X][-]]
  83. [[Hyperbolic Secant][-][-][-][X][-]]
  84. [[Semicircular][-][-][-][X][-]]
  85. [[Bradford][-][-][-][X][-]]
  86. [[Birr / Fisk][-][-][-][X][-]]
  87. [[Reciprocal][-][-][-][X][-]]
  88. [/0 votes but useful anyway?]
  89. [[Kolmogorov Distribution][-][-][-][-][-]]
  90. ]
  91. Also asked for more than once:
  92. * Add support for interpolated distributions, possibly combine with numeric
  93. integration and differentiation.
  94. * Add support for bivariate and multivariate distributions: most especially the normal.
  95. * Add support for the log of the cdf and pdf:
  96. this is mainly a performance optimisation since we can avoid
  97. some special function calls for some distributions
  98. by returning the log of the result.
  99. [endsect] [/section:issues Known Issues, and Todo List]
  100. [/
  101. Copyright 2006, 2010 John Maddock and Paul A. Bristow.
  102. Distributed under the Boost Software License, Version 1.0.
  103. (See accompanying file LICENSE_1_0.txt or copy at
  104. http://www.boost.org/LICENSE_1_0.txt).
  105. ]