Try Brilliant:
Complex rational numbers.
Say you wanted to implement your own custom number type in Python, how would you do it? In this video, we’ll take a look at a custom implementation of an infinite precision number type for complex numbers with rational components, aka “Gaussian rationals“.
― mCoding with James Murphy ()
Source code:
Slots video:
Fast pow video:
New vs init video:
Python numbers docs:
Python stdtypes docs:
SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!
Feeling generous but don’t have a Patreon? Donate via PayPal! (No sign up needed.)
Want to donate crypto? Check out the rest of my supported donations on my website!
Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, Neel R, Matt R, Johan A, Casey G, Mark M, Mutual Information
BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:
Github:
Reddit:
Facebook:
CHAPTERS
---------------------------------------------------
0:00 Intro
1:21 Start of implementation
4:00 Arithmetic operations
11:32 Hash and equality
15:13 Thanks to Brilliant
4 views
3
0
8 months ago 00:11:05 1
Israel’s Iron Dome is TOAST and this confirms it.
8 months ago 00:02:31 1
The Heart
8 months ago 00:08:16 1
Boris Brejcha - 16 Red Even (Extended Live Version Re-Build)
9 months ago 00:04:43 1
PYTHON PROGRAMMERS!! We Automated What You Do on ChatGpt Everyday!
9 months ago 00:53:42 1
The Most Evil Thing I Have Ever Seen – with Ret. Marine Jim Webb
9 months ago 00:21:12 5
35 ФАКТОВ и ПАСХАЛОК ► BLACK MESA
10 months ago 00:01:01 1
“Perfection in imperfection“ | 100K+ frames in 60 seconds #maths #goldenratio #art #geometry #adhd
1 year ago 01:16:33 1
Terrifying Giant PYTHON Attacks Duckling Farm - Harvest Cucumbers Goes to Market Sell | Garden Life
1 year ago 00:20:41 1
Comfortably Numb, Time, Money covers of Pink Floyd at Campo de Fiori (Giordano Bruno) - Roma, Italy
1 year ago 00:04:17 1
Use Python to Enhance The Godot Game Engine
1 year ago 00:14:40 4
why you are so tired
1 year ago 00:12:35 1
The Making of BSD: The ACTUAL World’s First Open-Source Operating System?
1 year ago 00:02:43 1
The Adventures of Baron Munchausen (3/8) Movie CLIP - The Cannonball Ride (1988) HD
1 year ago 00:06:23 1
Brigado Crew & MAC:ANNÂ - Existence (Original Mix) [Siona Records]
1 year ago 00:01:43 22
PYTHON-5: 5th Gen Dual-Use Air-to-Air and Air Defense Missile
2 years ago 00:46:23 38
Catch Giant PYTHON - Harvest Bananas Goes to the Market Sell - Make Banana Cake | Free New Life
2 years ago 01:36:46 3
Catch Giant PYTHON While Harvesting Lemongrass - Build Goat Barn | Free New Life
2 years ago 00:00:59 3
There’s Waldo is a robot that finds Waldo
2 years ago 00:45:31 4
your home router SUCKS!! (use pfSense instead)
2 years ago 00:18:02 7
Simple YOLOv8 Class for Object Detection with Webcam in Real-time
2 years ago 00:10:54 1
Top 3 How To Make Planted Fish Tank At Home Ideas | DIY Nano Aquascape (No Co2) #110
2 years ago 00:43:24 2
Все о List в Python (часть 1)
2 years ago 00:18:30 1
Twitter больше не Twitter, геймпады Xbox с запахом пиццы, ChatGPT для Android
2 years ago 00:02:36 1
The Adventures of Baron Munchausen (7/8) Movie CLIP - The Execution (1988) HD