Click or drag to resize

OrdinalRankCalculatorT Class

Implementation of ordinal rank calculation. Ordinal rank - order in array sorted by factor.
Inheritance Hierarchy
SystemObject
  FinAnalysis.RangingOrdinalRankCalculatorT

Namespace:  FinAnalysis.Ranging
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public static class OrdinalRankCalculator<T>

Type Parameters

T
Type of objects for ranking.
Methods
  NameDescription
Public methodStatic memberGetAscending(ICollectionT, ICollectionDouble, Double, Double)
Get objects which has number from startingPercent to endingPercent in ascending order. Ascending order: Maximal factor value gets maximal rank. Minimal factor value gets rank 1.
Public methodStatic memberGetAscending(ICollectionT, ICollectionDouble, Int32, Int32)
Get objects which has number from starting to ending in ascending order. Ascending order: Maximal factor value gets maximal rank. Minimal factor value gets rank 1.
Public methodStatic memberGetBottom(ICollectionT, ICollectionDouble, Double)
Get first bottomPercent objects from array of objects ascending sorted by factor. Descending order. Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetBottom(ICollectionT, ICollectionDouble, Int32)
Get first bottomCount objects from array of objects ascending sorted by factor. Descending order. Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetDescending(ICollectionT, ICollectionDouble, Double, Double)
Get objects which has number from startingPercent to endingPercent in descending order. Descending order: Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetDescending(ICollectionT, ICollectionDouble, Int32, Int32)
Get objects which has number from starting to ending in descending order. Descending order: Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetRanks(ICollectionDouble)
Get ordinal rank of all objects using factor values. Ordinal rank - order in array sorted by factor. Descending order. Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetRanks(ICollectionDouble, RankingType, Double)
Get ordinal rank of all objects using factor values. Ordinal rank - order in array sorted by factor. Note: Equal factors gets equal ranks. Check maxRank for maximal assigned rank.
Public methodStatic memberGetTop(ICollectionT, ICollectionDouble, Double)
Get last topPercent objects from array of objects ascending sorted by factor. Descending order. Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Public methodStatic memberGetTop(ICollectionT, ICollectionDouble, Int32)
Get last topCount objects from array of objects ascending sorted by factor. Descending order. Minimal factor value gets maximal rank. Maximal factor value gets rank 1.
Top
See Also