У нас вы можете посмотреть бесплатно Monte Carlo Integration using DispatchQueue and concurrentPerform in Swift 5 Part 3 of 4 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This program uses Monte Carlo Integration to calculate the integral of exp(-x) from 0 to 1. Monte Carlo Integration is slow as the calculation improves with the sqrt(N) where N is the number of guesses. One can get valuable speed up In the calculation by threading the calculation and utilizing multiple processors or cores. This program utilizes Swift 5 and DispatchQueue (specifically concurrentPerform) to thread the calculation of the integral. In this part, the program was modified to perform unit testing of concurrent (threaded) operations. Logging was also added so that some of the timing output could be recorded to the system log. The code can be downloaded from https://github.com/jterry94/Integrati...