Commit 9adc3941 by Nikolay Bryskin

added movingAverage function

parent 8904a6f4
...@@ -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