We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f0ba9 commit 4dd70efCopy full SHA for 4dd70ef
app/engine/utils/WLSLinearSeries.js
@@ -1,7 +1,7 @@
1
'use strict'
2
/**
3
* @copyright [OpenRowingMonitor]{@link https://github.com/JaapvanEkris/openrowingmonitor}
4
- *
+ *
5
* @file The WLSLinearSeries is a datatype that represents a Linear Series. It allows
6
* values to be retrieved (like a FiFo buffer, or Queue) but it also includes
7
* a Weighted Linear Regressor to determine the slope, intercept and R^2 of this series
@@ -147,6 +147,9 @@ export function createWLSLinearSeries (maxSeriesLength = 0) {
147
return (X.length() >= 2 && _slope !== 0)
148
}
149
150
+ /**
151
+ * @description This function is used for clearing all data, typically when flywheel.js is completely reset
152
+ */
153
function reset () {
154
X.reset()
155
Y.reset()
0 commit comments