Package | de.popforge.math |
Class | public class RMS |
Property | Defined by | ||
---|---|---|---|
sum : Number [read-only]
The sum of all values.
| RMS | ||
value : Number [read-only]
The root-mean-squared value of the sum.
| RMS | ||
width : uint [read-only]
The width of the window.
| RMS |
Method | Defined by | ||
---|---|---|---|
RMS(width:uint)
Creates a new RMS object.
| RMS | ||
reset():void
Resets the sum and window.
| RMS | ||
update(value:Number):void
Updates the sum of the values based on the window width.
| RMS |
sum | property |
sum:Number
[read-only]The sum of all values.
Implementation public function get sum():Number
value | property |
value:Number
[read-only]The root-mean-squared value of the sum.
Implementation public function get value():Number
width | property |
width:uint
[read-only]The width of the window.
Implementation public function get width():uint
RMS | () | constructor |
public function RMS(width:uint)
Creates a new RMS object.
Parameterswidth:uint — The width of the window.
|
reset | () | method |
public function reset():void
Resets the sum and window.
update | () | method |
public function update(value:Number):void
Updates the sum of the values based on the window width.
Parametersvalue:Number — The new sample to insert.
|