C# Class NSoft.NFramework.Numerics.Statistics.Histogram

Exibir arquivo Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
AddBucket ( Bucket bucket ) : void

bucket 을 현재 Histogram에 추가합니다.

AddData ( IEnumerable data ) : void

Data를 추가합니다.

AddData ( double d ) : void

변량 추가

GetCounts ( ) : double[]
Histogram ( ) : System
Histogram ( IEnumerable data, int bucketCount ) : System
Histogram ( IEnumerable data, int bucketCount, double lower, double upper ) : System
Histogram ( int bucketCount, double lower, double upper ) : System
ResetData ( ) : void

모든 변량들의 빈도수를 Clear합니다.

StemLeaf ( int maxMark ) : string

Formats the contents of the Histogram into a simple acsii stem-leaf diagram.

If the bin boundaries are b0, b1, b2,...,bn-1, and the counts for these bins are c1, c2,...,cn, respectively, then the this method returns a string with the following format: Number SmallerCount: ***number SmallerCount [b0,b1): *****c1 [b1,b2): **********c2 [b2,b3): ***************c3 . . . [bn-2,bn-1]: *****cn Number LargerCount : *****number LargerCount. Where the number of '*'s is for a particular bin is equal to the count for that bin minus one.

ToString ( ) : string
this ( int index ) : Bucket

지정된 인덱스의 Bucket

Private Methods

Method Description
GetBucketIndexOf ( double x ) : int
LazySort ( ) : void

Method Details

AddBucket() public method

bucket 을 현재 Histogram에 추가합니다.
public AddBucket ( Bucket bucket ) : void
bucket Bucket
return void

AddData() public method

Data를 추가합니다.
public AddData ( IEnumerable data ) : void
data IEnumerable
return void

AddData() public method

변량 추가
public AddData ( double d ) : void
d double
return void

GetCounts() public method

public GetCounts ( ) : double[]
return double[]

Histogram() public method

public Histogram ( ) : System
return System

Histogram() public method

public Histogram ( IEnumerable data, int bucketCount ) : System
data IEnumerable
bucketCount int
return System

Histogram() public method

public Histogram ( IEnumerable data, int bucketCount, double lower, double upper ) : System
data IEnumerable
bucketCount int
lower double
upper double
return System

Histogram() public method

public Histogram ( int bucketCount, double lower, double upper ) : System
bucketCount int
lower double
upper double
return System

ResetData() public method

모든 변량들의 빈도수를 Clear합니다.
public ResetData ( ) : void
return void

StemLeaf() public method

Formats the contents of the Histogram into a simple acsii stem-leaf diagram.
If the bin boundaries are b0, b1, b2,...,bn-1, and the counts for these bins are c1, c2,...,cn, respectively, then the this method returns a string with the following format: Number SmallerCount: ***number SmallerCount [b0,b1): *****c1 [b1,b2): **********c2 [b2,b3): ***************c3 . . . [bn-2,bn-1]: *****cn Number LargerCount : *****number LargerCount. Where the number of '*'s is for a particular bin is equal to the count for that bin minus one.
public StemLeaf ( int maxMark ) : string
maxMark int
return string

ToString() public method

public ToString ( ) : string
return string

this() public method

지정된 인덱스의 Bucket
public this ( int index ) : Bucket
index int
return Bucket