Advertisement
Guest User

Untitled

a guest
Nov 1st, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <meta charset="utf-8">
  3. <style>
  4. body {
  5. background: #f3f3f3;
  6. color: #333;
  7. }
  8. #main-content {
  9. margin: 20px auto;
  10. width: 584px;
  11. font-size: 18px;
  12. }
  13. pre {
  14. width: 100%;
  15. box-sizing: border-box;
  16. overflow: auto;
  17. font-size: 16px;
  18. }
  19. </style>
  20. <div id="main-content">
  21.  
  22. <h2>Mathx::Stat, a start of a statistics package</h2>
  23.  
  24. <p>
  25. As I write games most of the time I needed something else than the
  26. SDL2::Raw package, as I am a SDL (1.2) coder. SDL from http://libsdl.org
  27. served the community of emulator and game hackers for years but was not
  28. included anymore in Perl 6, so I thought to make some polyvalent game
  29. mechanics without it.
  30. </p>
  31. <p>
  32. If you want to write a game with the Mathx::Stat package you can use
  33. the Variance and Estimate (Expectance) methods to differ in calculated
  34. variances.
  35. </p>
  36. <p>
  37. The fact is that you use a Population or DistributionPopulation instance
  38. for measuring variance on a distributed set of probabilities. You can then
  39. write your own, in the first place, uniformly distributed random variables
  40. set with it.
  41. </p>
  42. <p>
  43. The package was meant to support Markov strategies for calculating several
  44. variances and comparing them in game theory. The Probability class can be
  45. used for multi-variate Bayes.
  46. </p>
  47. <p>
  48. Later on, I will concur upon more statistical chaos theory inside the
  49. Mathx:::Stat package such as the popular Correlation Dimension.
  50. There is a Bayes::Learn package with brute force Bayesian Learning which
  51. uses the Bayes formula of Mathx::Stat. Game::Markov is another package
  52. in the make which features Time and Tick classes for making games.
  53. Each Time instance is a nano-,milli-,seconds based time which you can
  54. adjust at runtime. Game::Markov also includes control variates, antithetic
  55. variates and more to make fast games at initialization and runtime.
  56. Some classes feature a gen method whereby you can generate distributed
  57. (random) variables which can lead you to a game runtime of e.g. a plateau
  58. in a fractal landscape.
  59. </p>
  60. <p>
  61. OK, so we promised a lot and in a (few) months you'll have real-time
  62. strategiy and RPG Action classes in the Game::Markov CPAN archive.
  63. Note that a prototype exists in the ecosystem.
  64. </p>
  65. <p>
  66. That's it, enjoy !
  67. </p>
  68. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement