I was a bit disappointed to learn that math-related Python packages don’t seem to have an
ln
function. They all uselog
for the natural log and also have alog10
.Base e is considered the natural logarithm and is what you’ll get if you call log in most programming languages targeted at math.
You know what’s even more dissapointing? bc - arbitrary precision calculator for linux shell uses ‘l’ for natural log, just a single letter.
And there’s no other log function, so when you need logx(y) you write: ''l(y)/l(x)".Well that’s annoying…
even Matlab suffers from this
suffers?
Yes? Suffer -> Suffering / Suffers ? Is this not correct?
Make your own package, or just macro that shit.
That’s because mathematicians use log for the natural logarithm. Log base 10 would be log_10
Still dnt get it bruv
“ln(x)” is another way of writing log sub e of x https://en.m.wikipedia.org/wiki/Natural_logarithm
The “ln” of the “you son of a bitch. I’m ln” is referencing that identity
❤️
Wow, i just lost some brain cells for this 🤣
Or it is just idiotic.
ln(x) (I believe abbreviated from the french logarithme naturel) is the same as the logarithm of x base e (loge(y))
Edit: subscript doesn’t seem to work for me on Jerboa but I’m keeping it as it is
Checking if thunder can subscript…
Edit: Nope, it can’t…
Well, shite
🍻
Pretty sure that superscript is using circumflex
And it doesnt work
Huh you are right. It only works on the web frontend, not on the mobile apps.
It’s also called logarithme népérien, for Jonh Napier, mathematician who discovered a lot of the properties of the logarithmic function.
ln you a hand