Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
/findmean{
|
||||
/x exch def
|
||||
/sum 0 def
|
||||
/i 0 def
|
||||
x length 0 eq
|
||||
{}
|
||||
{
|
||||
x length{
|
||||
/sum sum x i get add def
|
||||
/i i 1 add def
|
||||
}repeat
|
||||
/sum sum x length div def
|
||||
}ifelse
|
||||
sum ==
|
||||
}def
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
/avg {
|
||||
dup length
|
||||
{0 gt} {
|
||||
exch 0 {add} fold exch div
|
||||
} {
|
||||
exch pop
|
||||
} ifte
|
||||
}.
|
||||
Loading…
Add table
Add a link
Reference in a new issue