Python - Exponents, Modular Exponents, Modular Inverse Tutorial

preview_player
Показать описание

What is an exponent? - 1:19
base**exponent - 2:20
pow(base, exponent) - 3:38
Taking exponent of a negative number (pow(-base, exponent)) - 5:40
Using a negative exponent (pow(base, -exponent)) - 6:26
Taking non-integer exponent of negative number(pow(-base, non-integer exponent)), brief discussion of complex numbers - 8:50
Importance of order of operations with exponents - 11:06
Introduction to modular arithmetic - 13:23
Exponent with "mod" value (pow(base, exponent, mod)) - 15:22
Discussion of modulo (%) operator as remainder in long division -17:13
Other examples to show use of modulo (%) - using % 2 to see if an integer is even or odd (19:00), using %12 to show arithmetic with hours on a clock (21:30)
Taking exponent with negative modular value -23:24
Taking modular inverse using pow() - 24:44
Exponentiating modular inverse using pow() - 34:50
Brief note on complex numbers and cmath - 42:07

Рекомендации по теме
Комментарии
Автор

I think this among the most valuable videos I have found on the internet.

fezkhanna
Автор

That is really very helpful
Thanks
Also bring numpy module tricks and hacks for coding

inspired_enough_to_grow_up
welcome to shbcf.ru