3 ms·
Hmm, here's a thought: Instead of naming a function "sum", call it Σ, and similarly use √ instead of "sqrt". This would enable you to write things like rms = √
by Derbasti 13y ago
Hmm, here's a thought: Instead of naming a function "sum", call it Σ, and similarly use √ instead of "sqrt". This would enable you to write things like
rms = √(1/len(x)*Σ(x))
Which is really quite cool from a mathematical view point.