Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Derbasti
on Sept 10, 2013
|
parent
|
context
|
favorite
| on:
Linear Regression 3 Ways in Julia
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
rms = √(1/len(x)*Σ(x))
Which is really quite cool from a mathematical view point.