Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
import extensions;
|
||||
import system'routines;
|
||||
import system'math;
|
||||
|
||||
extension op
|
||||
{
|
||||
get RootMeanSquare()
|
||||
= (self.selectBy:(x => x * x).summarize(Real.new()) / self.Length).sqrt();
|
||||
}
|
||||
|
||||
public program()
|
||||
{
|
||||
console.printLine(new Range(1, 10).RootMeanSquare)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue