RegressionFilter

class RegressionFilter(val window_size: Int, val order: Int = 3)

Constructors

Link copied to clipboard
constructor(window_size: Int, order: Int = 3)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val order: Int = 3
Link copied to clipboard
var out: Double
Link copied to clipboard
var pT: Double
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun update(data: Double, time: Double = System.nanoTime().toDouble()/(1000.0*1000.0*1000.0))