Sage Modeling and Simulation Library

Extensions Members

The Extensions type exposes the following members.

Methods


  Name Description
Public method Static member Bound(IEnumerable<(Of <<'(Double>)>>), Double, Double)
Public method Static member Bound<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), Double, Double, Func<(Of <<'(TSource, Double>)>>))
Public method Static member BoundBySigmas(IEnumerable<(Of <<'(Double>)>>), Double, Double)
Public method Static member BoundBySigmas(IEnumerable<(Of <<'(Double>)>>), Double, Double, Object%)
Public method Static member BoundBySigmas<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), Func<(Of <<'(T, Double>)>>), Double, Double)
Public method Static member BoundBySigmas<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), Func<(Of <<'(T, Double>)>>), Double, Double, Object%)
Public method Static member GetPercentileForItem<(Of <<'(T>)>>)(List<(Of <<'(T>)>>), T, Func<(Of <<'(T, Double>)>>))
Given a list of source items, a target item of the same type as source items, and a lambda expression that returns a double value (a score) from those items, this function will return a double that is the percentile into which that target value falls for the population represented by the list of source items.

Note1: Percentile is the percent of observed values in the srcItems that fall at or below the value of the targetItem.

Note2: If this operation will be performed repeatedly on the same list, use the other form instead.

Public method Static member GetPercentileForItem<(Of <<'(T>)>>)(List<(Of <<'(T>)>>), T, Func<(Of <<'(T, Double>)>>), Object%)
Gets the percentile for item. Note: with [0,1,2,3,3,3], 3 will be in the 50th percentile.
Public method Static member GetValueAtPercentile<(Of <<'(T>)>>)
Given a list of source items, and a function that returns a double value for each, this method ascertains the double value that represents the given percentile in that population. For example, given a list of students, and a function that returns their grades, this method will return the grade that represents the 50th percentile across that population of students.
Public method Static member Mode<(Of <<'(TSource>)>>)
Public method Static member Skewness(IEnumerable<(Of <<'(Double>)>>))
Public method Static member Skewness<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), Func<(Of <<'(TSource, Double>)>>))
Public method Static member StandardDeviation(IEnumerable<(Of <<'(Double>)>>))
Public method Static member StandardDeviation<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), Func<(Of <<'(TSource, Double>)>>))