swift-nav / plover

Plover is a language for matrix algebra on embedded systems.
http://swift-nav.github.io/plover
MIT License
47 stars 14 forks source link

Random number functionality and matrix exponentials #55

Open annius opened 8 years ago

annius commented 8 years ago

@scottswift @peddie

Once I'm done with the hackathon I thought I might extend plover functionality for random numbers (could be useful for Monte Carlo tests).

  1. sampling from normal distributions using Box-Muller (more efficient in comparison with rejection sampling)
  2. sampling from discrete PDFs

Also the following (I have a C implementation sitting somewhere)