random
mardi 23 janvier 2024
Quantiles of sums of independent discrete random variables
›
I have the following problem: given k (=10) discrete independent random variables X_i with n_i ( = 5 to 20) values each. Problem: compute q...
mercredi 17 janvier 2024
Random Choice in If statement [closed]
›
I am a beginner and im wondering how to code something like this in python: If this word from a list of given words is randomly picked prin...
samedi 13 janvier 2024
Simple Scaling Probability With Outliers in Python
›
I'm creating a virtual auction game, and I need more complex NPC behavior than I have now. Basically, every item has a base price (bp), ...
What is the modulus of the libc pRNG LCG?
›
I'm a bit confused at the moment about the linear congruential generator used in the rand() function in stdlib to generate random number...
reduce a list of objects given an associated list of likelyhoods
›
I have a list (aka, slice) of objects. I also have a list of the same size that contains the likelyhood that each object will be useful in t...
vendredi 12 janvier 2024
Why are all the strings the same
›
For test my hashmap on C language I need to generate many keys (string). I wrote this code for generate keys. And this code doesn't wor...
jeudi 11 janvier 2024
How do I get a random choice from a list to not give me duplicates?
›
Sorry if it's unclear, beginner here. Basically I have this to pick random questions for a quiz: import random econ = ["eq1"...
›
Accueil
Afficher la version Web