Commit 3f2c69ae by Torkel Ödegaard

Merge pull request #131 from nikicat/master

added movingAverage function
parents 8904a6f4 9adc3941
...@@ -206,6 +206,13 @@ function (_) { ...@@ -206,6 +206,13 @@ function (_) {
defaultParams: [5] defaultParams: [5]
}); });
addFuncDef({
name: 'movingAverage',
category: categories.Filter,
params: [ { name: "window size", type: "int" } ],
defaultParams: [10]
});
_.each(categories, function(funcList, catName) { _.each(categories, function(funcList, catName) {
categories[catName] = _.sortBy(funcList, 'name'); categories[catName] = _.sortBy(funcList, 'name');
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment