C# Класс NSoft.NFramework.Numerics.Statistics.Histogram

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetBucketIndexOf ( double x ) : int
LazySort ( ) : void

Описание методов

AddBucket() публичный Метод

bucket 을 현재 Histogram에 추가합니다.
public AddBucket ( Bucket bucket ) : void
bucket Bucket
Результат void

AddData() публичный Метод

Data를 추가합니다.
public AddData ( IEnumerable data ) : void
data IEnumerable
Результат void

AddData() публичный Метод

변량 추가
public AddData ( double d ) : void
d double
Результат void

GetCounts() публичный Метод

public GetCounts ( ) : double[]
Результат double[]

Histogram() публичный Метод

public Histogram ( ) : System
Результат System

Histogram() публичный Метод

public Histogram ( IEnumerable data, int bucketCount ) : System
data IEnumerable
bucketCount int
Результат System

Histogram() публичный Метод

public Histogram ( IEnumerable data, int bucketCount, double lower, double upper ) : System
data IEnumerable
bucketCount int
lower double
upper double
Результат System

Histogram() публичный Метод

public Histogram ( int bucketCount, double lower, double upper ) : System
bucketCount int
lower double
upper double
Результат System

ResetData() публичный Метод

모든 변량들의 빈도수를 Clear합니다.
public ResetData ( ) : void
Результат void

StemLeaf() публичный Метод

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
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string

this() публичный Метод

지정된 인덱스의 Bucket
public this ( int index ) : Bucket
index int
Результат Bucket