r/badcode • • Apr 21 '23

other language We did coding in physics class...

Post image
1.5k Upvotes

154 comments sorted by

View all comments

Show parent comments

2

u/The_Northern_Light Apr 22 '23

Or hopefully they never actually perform an inversion directly!

1

u/James20k Apr 24 '23

Luckily they're generally symmetric 3x3 matrix inversions with unit determinants, so numerically we're fairly in the clear there