Click or drag to resize

LinearBinning Class

Represents linear binning, i.e. bins with the same width at equally spaced positions.
Inheritance Hierarchy
SystemObject
  Altaxo.Analysis.Statistics.HistogramsLinearBinning

Namespace: Altaxo.Analysis.Statistics.Histograms
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class LinearBinning : IBinning, 
	ICloneable

The LinearBinning type exposes the following members.

Constructors
 NameDescription
Public methodLinearBinning Initializes a new instance of the LinearBinning class.
Top
Properties
 NameDescription
Public propertyBinOffset Gets or sets the bin offset. This is the position of one bin. The positions of all other bins are calculated relative to this reference position by using integer multiples of the bin width.
Public propertyBins Gets the list of bins.
Public propertyBinWidth Gets or sets the width of the bins.
Public propertyIsUserDefinedBinOffset Gets or sets a value indicating whether the bin offset is user defined.
Public propertyIsUserDefinedBinWidth Gets or sets a value indicating whether the bin width was defined by the user.
Public propertyNumberOfBins Gets the number of bins.
Top
Methods
 NameDescription
Public methodCalculateBinPositionsFromSortedList Calculates the bin positions, the bin widths, and the number of bins from a sorted list containing the data ensemble. This does not calculate the bins themselves. To do this, use CalculateBinsFromSortedList(IReadOnlyListDouble).
Public methodCalculateBinsFromSortedList Calculates the bins from a sorted list containing the data ensemble.
Public methodCloneCreates a new object that is a copy of the current instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_binCounts The number of items in each bin.
Protected field_binLowerIndex The lower index of the first populated bin.
Protected field_binOffset The bin offset.
Protected field_binWidth The bin width.
Protected field_ensembleDataCount The total number of data items in the ensemble.
Protected field_numberOfBins The number of bins.
Top
See Also