Search Results for

    Show / Hide Table of Contents

    Class Distribution

    Inheritance
    Object
    Distribution
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: TowseyLibrary
    Assembly: TowseyLibrary.dll
    Syntax
    public class Distribution

    Constructors

    | Improve this Doc View Source

    Distribution(Double[], Double, Double, Double, Boolean)

    Declaration
    public Distribution(double[] values, double min, double max, double binWidth, bool regularise)
    Parameters
    Type Name Description
    Double[] values
    Double min
    Double max
    Double binWidth
    Boolean regularise
    | Improve this Doc View Source

    Distribution(Int32, Int32)

    Initializes a new instance of the Distribution class. CONSTRUCTOR The minimum integer is assumed to be zero.

    Declaration
    public Distribution(int binCount, int binWidth)
    Parameters
    Type Name Description
    Int32 binCount
    Int32 binWidth
    | Improve this Doc View Source

    Distribution(Int32[], Int32)

    Declaration
    public Distribution(int[] values, int max)
    Parameters
    Type Name Description
    Int32[] values
    Int32 max
    | Improve this Doc View Source

    Distribution(Int32[], Int32, Boolean)

    Declaration
    public Distribution(int[] values, int max, bool regularise)
    Parameters
    Type Name Description
    Int32[] values
    Int32 max
    Boolean regularise

    Methods

    | Improve this Doc View Source

    addNegativeValue(Int32)

    Declaration
    public void addNegativeValue(int value)
    Parameters
    Type Name Description
    Int32 value
    | Improve this Doc View Source

    addPositiveValue(Int32)

    Declaration
    public void addPositiveValue(int value)
    Parameters
    Type Name Description
    Int32 value
    | Improve this Doc View Source

    addValue(Int32)

    Declaration
    public void addValue(int value)
    Parameters
    Type Name Description
    Int32 value
    | Improve this Doc View Source

    calculateIC()

    calculates the information content.

    Declaration
    public void calculateIC()
    | Improve this Doc View Source

    calculateIC(Double[])

    Declaration
    public double[] calculateIC(double[] p)
    Parameters
    Type Name Description
    Double[] p
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    getDistribution()

    Declaration
    public int[] getDistribution()
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    getExpectedIC()

    Declaration
    public double getExpectedIC()
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getInfoDistribution()

    Declaration
    public double[] getInfoDistribution()
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    getLogProbability(Int32)

    Declaration
    public double getLogProbability(int value)
    Parameters
    Type Name Description
    Int32 value
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getLogProbability(Int32, Int32)

    Declaration
    public double getLogProbability(int start, int end)
    Parameters
    Type Name Description
    Int32 start
    Int32 end
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getMax()

    Declaration
    public int getMax()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    getMaxIndex()

    Declaration
    public int getMaxIndex()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    getMin()

    Declaration
    public int getMin()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    getMinIndex()

    Declaration
    public int getMinIndex()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    getNormalisedDistribution()

    Declaration
    public double[] getNormalisedDistribution()
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    getProbability(Int32)

    Declaration
    public double getProbability(int value)
    Parameters
    Type Name Description
    Int32 value
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getProbability(Int32, Int32)

    Declaration
    public double getProbability(int start, int end)
    Parameters
    Type Name Description
    Int32 start
    Int32 end
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getProbDistribution()

    Declaration
    public double[] getProbDistribution()
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    getSum()

    Declaration
    public double getSum()
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getSum(Double[])

    Declaration
    public static double getSum(double[] values)
    Parameters
    Type Name Description
    Double[] values
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getTotalIC()

    Declaration
    public double getTotalIC()
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    getValueCount()

    Declaration
    public int getValueCount()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    main(String[])

    Declaration
    public static void main(string[] args)
    Parameters
    Type Name Description
    String[] args
    | Improve this Doc View Source

    normalise(Double[])

    Declaration
    public static double[] normalise(double[] values)
    Parameters
    Type Name Description
    Double[] values
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    regulariseDistribution(Double[])

    Declaration
    public static double[] regulariseDistribution(double[] values)
    Parameters
    Type Name Description
    Double[] values
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    writeIC()

    Declaration
    public void writeIC()

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top