Skip to content
Snippets Groups Projects
Commit 81b7bec1 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

MovingAverage: javadoc

parent e634bde1
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,11 @@ package bdv.util; ...@@ -2,6 +2,11 @@ package bdv.util;
import java.util.Arrays; import java.util.Arrays;
/**
* Maintains a moving average over the last {@code width} values {@link #add
* added}. The average can be {@link #init initialized} to some value (or starts
* as 0, i.e., as if {@code width} 0 values had been added)
*/
public class MovingAverage public class MovingAverage
{ {
private final double[] values; private final double[] values;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment