var searchIndex = {}; searchIndex["stats"] = {"doc":"","items":[[3,"Frequencies","stats","A commutative data structure for exact frequency counts.",null,null],[3,"MinMax","","A commutative data structure for tracking minimum and maximum values.",null,null],[3,"OnlineStats","","Online state for computing mean, variance and standard deviation.",null,null],[3,"Unsorted","","A commutative data structure for lazily sorted sequences of data.",null,null],[5,"stddev","","Compute the standard deviation of a stream in constant space.",null,{"inputs":[{"name":"i"}],"output":{"name":"f64"}}],[5,"variance","","Compute the variance of a stream in constant space.",null,{"inputs":[{"name":"i"}],"output":{"name":"f64"}}],[5,"mean","","Compute the mean of a stream in constant space.",null,{"inputs":[{"name":"i"}],"output":{"name":"f64"}}],[5,"median","","Compute the exact median on a stream of data.",null,{"inputs":[{"name":"i"}],"output":{"name":"option"}}],[5,"mode","","Compute the exact mode on a stream of data.",null,{"inputs":[{"name":"i"}],"output":{"name":"option"}}],[5,"merge_all","","Merges all items in the stream.",null,{"inputs":[{"name":"i"}],"output":{"name":"option"}}],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new","","Create a new frequency table with no samples.",0,{"inputs":[],"output":{"name":"frequencies"}}],[11,"add","","Add a sample to the frequency table.",0,null],[11,"count","","Return the number of occurrences of `v` in the data.",0,null],[11,"cardinality","","Return the cardinality (number of unique elements) in the data.",0,null],[11,"mode","","Returns the mode if one exists.",0,null],[11,"most_frequent","","Return a `Vec` of elements and their corresponding counts in\ndescending order.",0,null],[11,"least_frequent","","Return a `Vec` of elements and their corresponding counts in\nascending order.",0,null],[11,"len","","Returns the cardinality of the data.",0,null],[11,"merge","","",0,null],[11,"default","","",0,{"inputs":[],"output":{"name":"frequencies"}}],[11,"from_iter","","",0,{"inputs":[{"name":"i"}],"output":{"name":"frequencies"}}],[11,"extend","","",0,null],[11,"clone","","",1,null],[11,"new","","Create an empty state where min and max values do not exist.",1,{"inputs":[],"output":{"name":"minmax"}}],[11,"add","","Add a sample to the data.",1,null],[11,"min","","Returns the minimum of the data set.",1,null],[11,"max","","Returns the maximum of the data set.",1,null],[11,"len","","Returns the number of data point.",1,null],[11,"merge","","",1,null],[11,"default","","",1,{"inputs":[],"output":{"name":"minmax"}}],[11,"fmt","","",1,null],[11,"from_iter","","",1,{"inputs":[{"name":"i"}],"output":{"name":"minmax"}}],[11,"extend","","",1,null],[11,"clone","","",2,null],[11,"new","","Create initial state.",2,{"inputs":[],"output":{"name":"onlinestats"}}],[11,"from_slice","","Initializes variance from a sample.",2,null],[11,"mean","","Return the current mean.",2,null],[11,"stddev","","Return the current standard deviation.",2,null],[11,"variance","","Return the current variance.",2,null],[11,"add","","Add a new sample.",2,null],[11,"add_null","","Add a new NULL value to the population.",2,null],[11,"len","","Returns the number of data points.",2,null],[11,"merge","","",2,null],[11,"default","","",2,{"inputs":[],"output":{"name":"onlinestats"}}],[11,"fmt","","",2,null],[11,"from_iter","","",2,{"inputs":[{"name":"i"}],"output":{"name":"onlinestats"}}],[11,"extend","","",2,null],[11,"clone","","",3,null],[11,"new","","Create initial empty state.",3,{"inputs":[],"output":{"name":"unsorted"}}],[11,"add","","Add a new element to the set.",3,null],[11,"len","","Return the number of data points.",3,null],[11,"cardinality","","",3,null],[11,"mode","","Returns the mode of the data.",3,null],[11,"median","","Returns the median of the data.",3,null],[11,"merge","","",3,null],[11,"default","","",3,{"inputs":[],"output":{"name":"unsorted"}}],[11,"from_iter","","",3,{"inputs":[{"name":"i"}],"output":{"name":"unsorted"}}],[11,"extend","","",3,null],[8,"Commute","","Defines an interface for types that have an identity and can be commuted.",null,null],[10,"merge","","Merges the value `other` into `self`.",4,null],[11,"consume","","Merges the values in the iterator into `self`.",4,null]],"paths":[[3,"Frequencies"],[3,"MinMax"],[3,"OnlineStats"],[3,"Unsorted"],[8,"Commute"]]}; initSearch(searchIndex);