EWMA

object EWMA
Companion:
class
class Object
trait Matchable
class Any
EWMA.type

Value members

Concrete methods

def create(): EWMA

Creates a new EWMA instance with a weighting factor of 0.9.

Creates a new EWMA instance with a weighting factor of 0.9.

def create(weightingFactor: Double): EWMA

Creates a new EWMA instance with the provided weighting factor. If the provided weighting factor is not between 0 and 1 (exclusive) then it will be ignored and the default factor of 0.9 will be used.

Creates a new EWMA instance with the provided weighting factor. If the provided weighting factor is not between 0 and 1 (exclusive) then it will be ignored and the default factor of 0.9 will be used.