StandardDeviationComputerNum class

StandardDeviationComputer implementation for num.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Returns true if the computation set is empty.
no setteroverride
isNotEmpty bool
Alias to ![isEmpty].
no setteroverride
length int
Returns the length of the computed set. Is incremented by add.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
squaresSum num
The sum of the squares of the computed set. Is incremented by add.
no setteroverride
squaresSumAsDouble double
Casts squaresSum to double.
no setteroverride
standardDeviation double
The standard deviation of the current set.
no setteroverride
standardDeviationAsDouble double
Casts standardDeviation to double.
no setteroverride
sum num
The sum of the computed set. Is incremented by add.
no setteroverride
sumAsDouble double
Casts sum to double.
no setteroverride

Methods

add(num n) StandardDeviationComputerNum
Adds a number n to the computation.
override
addAll(Iterable<num> ns) StandardDeviationComputerNum
adds all the ns elements (num).
override
addAllBigInt(Iterable<BigInt> ns) StandardDeviationComputer
adds all the ns elements (BigInt).
override
addAllDynamicNumber(Iterable<DynamicNumber> ns) StandardDeviationComputer
adds all the ns elements (DynamicNumber).
override
addBigInt(BigInt n) StandardDeviationComputer
Adds a number n (BigInt) to the computation.
override
addDynamicNumber(DynamicNumber n) StandardDeviationComputer
Adds a number n (DynamicNumber) to the computation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() StandardDeviationComputerNum
Resets the computation.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited