Sampling random numbers from any probability distribution you want

Random numbers sampled from a positive cosine probability distribution

--

--

--

Theoretical Physicist | Software Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

New WPF Step ProgressBar to Track Multi-Step Process

New WPF Step ProgressBar to Track Multi-Step Process

Innovating in the Enterprise at the Speed of a Startup

How to deploy Rails API application to DigitalOcean with Capistrano and PUMA

4 Most Common challenges of API testing

Quitting WhatsApp? Build Your Own Messaging Android Application

person messaging on a phone

Those who know themselves and maximize their strengths are the ones who go where they want to go.

Static Libraries in C

Mutable, Immutable in Python3

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Oscar Nieves

Oscar Nieves

Theoretical Physicist | Software Developer

More from Medium

What is Maximum Likelihood Estimation?

This will be a series of articles dealing with statistical concepts from Random variables to…

Probability And Consequences

Bayes’ Theorem