C# Class SwarmOps.Quartiles

Compute quartiles.
Mostra file Open project: DanWBR/dwsim3 Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clear all quartiles.

Compute ( double x ) : void

Compute quartiles for a sorted array of values.

ComputeMedian ( double x ) : void

Compute median.

ComputeQ1 ( double x ) : void

Compute first quartile.

ComputeQ3 ( double x ) : void

Compute third quartile.

ComputeUnsorted ( double x ) : void

Compute quartiles for an unsorted array of values. Copies the source-array before sorting it.

ComputeUnsortedInplace ( double x ) : void

Compute quartiles for an unsorted array of values. Sorts the source-array inplace.

Quartiles ( ) : System.Diagnostics

Construct the object.

Method Details

Clear() public method

Clear all quartiles.
public Clear ( ) : void
return void

Compute() public method

Compute quartiles for a sorted array of values.
public Compute ( double x ) : void
x double Sorted array of values.
return void

ComputeMedian() public method

Compute median.
public ComputeMedian ( double x ) : void
x double Sorted array of values.
return void

ComputeQ1() public method

Compute first quartile.
public ComputeQ1 ( double x ) : void
x double Sorted array of values.
return void

ComputeQ3() public method

Compute third quartile.
public ComputeQ3 ( double x ) : void
x double Sorted array of values.
return void

ComputeUnsorted() public method

Compute quartiles for an unsorted array of values. Copies the source-array before sorting it.
public ComputeUnsorted ( double x ) : void
x double Un-sorted array of values.
return void

ComputeUnsortedInplace() public method

Compute quartiles for an unsorted array of values. Sorts the source-array inplace.
public ComputeUnsortedInplace ( double x ) : void
x double Un-sorted array of values.
return void

Quartiles() public method

Construct the object.
public Quartiles ( ) : System.Diagnostics
return System.Diagnostics