r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Aug 05 '19

They are used in looping variables commonly, and correspond in math to imaginary numbers (most folks are familiar with i == sqrt(-1)). The nerdy term is quaternion.

1

u/billsil Aug 07 '19

Quaternions are the 4d version of imaginary numbers, which are 2d. They're used for specifying rotations in a way that don't suffer from gimbal lock. Octonians are the 8d version and are used in quantum physics. At each level, you lose fundamental properties of math (e.g., commutative or associative), which makes them more difficult.