Тёмный
No video :(

What is a random number and why should I care - Frances Buontempo - Meeting C++ 2023 

Meeting Cpp
Подписаться 32 тыс.
Просмотров 1,5 тыс.
50% 1

What is a random number and why should I care - Frances Buontempo - Meeting C++ 2023
Slides: slides.meeting...
Survey: survey.meeting...
How can a deterministic function possibly give random results? We will find out and learn how to use various random number distributions.
Most of us need a random number at some point if we write code. We will discover how they are generated. We will see how to ensure simulating a dice roll makes the numbers 1 to 6 equally likely, and note some pitfalls to be aware of when shuffling, sampling and even seeding when using random number generators.
We will have a brief aside into stochastic outcomes from deterministic models, also known as chaos. Applying a function iteratively can’t possibly give non-deterministic results, right? We shall see. After this aside, we will return to using random numbers.
By the end we’ll be familiar with terms like pseudorandom number generator (PRNG), linear congruential generator and random number distributions. Finally, we’ll use various distributions to race some blobs out of a paper bag. Seeing a visual demonstration will solidify some the learning outcomes.

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@IvanBudiselic
@IvanBudiselic 6 месяцев назад
Great talk! Well done, and thank you!
@TNothingFree
@TNothingFree 6 месяцев назад
37:05 - Interesting Example. I taught my students that in C# the Random class actually took the time, so in order to make it work you need to initialize an instance and reuse the same instance. Or else you'll be getting bugs because it generates the same number.
Далее
Top 15 Programming Languages 2024 TIOBE Index.
7:15
Просмотров 13 тыс.
Generating ACTUALLY Random Numbers in Python
7:26
Просмотров 14 тыс.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 20 млн
Are you hiring for C++?
41:33
Просмотров 990
NMCS4ALL: Random number generators
20:10
Просмотров 70 тыс.
Meeting C++ live with Rainer Grimm
1:23:44
Просмотров 469
True Random Numbers - Computerphile
12:16
Просмотров 124 тыс.
Can A Random Number Generator Create A New NBA GOAT?
28:35