var searchIndex = {}; searchIndex["probability"] = {"doc":"A probability-theory toolbox.","items":[[0,"distribution","probability","Probability distributions.",null,null],[3,"Bernoulli","probability::distribution","A Bernoulli distribution.",null,null],[3,"Beta","","A beta distribution.",null,null],[3,"Binomial","","A binomial distribution.",null,null],[3,"Categorical","","A categorical distribution.",null,null],[3,"Exponential","","An exponential distribution.",null,null],[3,"Gamma","","A gamma distribution.",null,null],[3,"Gaussian","","A Gaussian distribution.",null,null],[3,"Logistic","","A logistic distribution.",null,null],[3,"Lognormal","","A lognormal distribution.",null,null],[3,"Triangular","","A triangular distribution.",null,null],[3,"Uniform","","A continuous uniform distribution.",null,null],[11,"clone","","",0,null],[11,"new","","Create a Bernoulli distribution with success probability `p`.",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"with_failure","","Create a Bernoulli distribution with failure probability `q`.",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"p","","Return the success probability.",0,null],[11,"q","","Return the failure probability.",0,null],[11,"mass","","",0,null],[11,"distribution","","",0,null],[11,"entropy","","",0,null],[11,"inverse","","",0,null],[11,"kurtosis","","",0,null],[11,"mean","","",0,null],[11,"median","","",0,null],[11,"modes","","",0,null],[11,"sample","","",0,null],[11,"skewness","","",0,null],[11,"variance","","",0,null],[11,"clone","","",1,null],[11,"new","","Create a beta distribution with shape parameters `alpha` and `beta`\non interval `[a, b]`.",1,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"alpha","","Return the first shape parameter.",1,null],[11,"beta","","Return the second shape parameter.",1,null],[11,"a","","Return the left endpoint of the support.",1,null],[11,"b","","Return the right endpoint of the support.",1,null],[11,"density","","",1,null],[11,"distribution","","",1,null],[11,"entropy","","",1,null],[11,"inverse","","",1,null],[11,"kurtosis","","",1,null],[11,"mean","","",1,null],[11,"median","","",1,null],[11,"modes","","",1,null],[11,"sample","","",1,null],[11,"skewness","","",1,null],[11,"variance","","",1,null],[11,"clone","","",2,null],[11,"new","","Create a binomial distribution with `n` trails and success probability\n`p`.",2,{"inputs":[{"name":"usize"},{"name":"f64"}],"output":{"name":"self"}}],[11,"with_failure","","Create a binomial distribution with `n` trails and failure probability\n`q`.",2,{"inputs":[{"name":"usize"},{"name":"f64"}],"output":{"name":"self"}}],[11,"n","","Return the number of trials.",2,null],[11,"p","","Return the success probability.",2,null],[11,"q","","Return the failure probability.",2,null],[11,"mass","","Compute the probability mass function.",2,null],[11,"distribution","","Compute the cumulative distribution function.",2,null],[11,"entropy","","",2,null],[11,"inverse","","Compute the inverse of the cumulative distribution function.",2,null],[11,"kurtosis","","",2,null],[11,"mean","","",2,null],[11,"median","","",2,null],[11,"modes","","",2,null],[11,"sample","","",2,null],[11,"skewness","","",2,null],[11,"variance","","",2,null],[11,"clone","","",3,null],[11,"new","","Create a categorical distribution with success probability `p`.",3,null],[11,"k","","Return the number of categories.",3,null],[11,"p","","Return the event probabilities.",3,null],[11,"mass","","",3,null],[11,"distribution","","",3,null],[11,"entropy","","",3,null],[11,"inverse","","",3,null],[11,"kurtosis","","",3,null],[11,"mean","","",3,null],[11,"median","","",3,null],[11,"modes","","",3,null],[11,"sample","","",3,null],[11,"skewness","","",3,null],[11,"variance","","",3,null],[11,"clone","","",4,null],[11,"new","","Create an exponential distribution with rate `lambda`.",4,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"lambda","","Return the rate parameter.",4,null],[11,"density","","",4,null],[11,"distribution","","",4,null],[11,"entropy","","",4,null],[11,"inverse","","",4,null],[11,"kurtosis","","",4,null],[11,"mean","","",4,null],[11,"median","","",4,null],[11,"modes","","",4,null],[11,"sample","","",4,null],[11,"skewness","","",4,null],[11,"variance","","",4,null],[11,"deviation","","",4,null],[11,"clone","","",5,null],[11,"new","","Create a gamma distribution with shape parameter `k` and scale parameter\n`theta`.",5,{"inputs":[{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"k","","Return the shape parameter.",5,null],[11,"theta","","Return the scale parameter.",5,null],[11,"density","","",5,null],[11,"distribution","","",5,null],[11,"entropy","","",5,null],[11,"kurtosis","","",5,null],[11,"mean","","",5,null],[11,"modes","","",5,null],[11,"sample","","Draw a sample.",5,null],[11,"skewness","","",5,null],[11,"variance","","",5,null],[11,"clone","","",6,null],[11,"new","","Create a Gaussian distribution with mean `mu` and standard deviation\n`sigma`.",6,{"inputs":[{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"mu","","Return the mean.",6,null],[11,"sigma","","Return the standard deviation.",6,null],[11,"default","","",6,{"inputs":[],"output":{"name":"self"}}],[11,"density","","",6,null],[11,"distribution","","",6,null],[11,"entropy","","",6,null],[11,"inverse","","Compute the inverse of the cumulative distribution function.",6,null],[11,"kurtosis","","",6,null],[11,"mean","","",6,null],[11,"median","","",6,null],[11,"modes","","",6,null],[11,"sample","","Draw a sample.",6,null],[11,"skewness","","",6,null],[11,"variance","","",6,null],[11,"deviation","","",6,null],[11,"clone","","",7,null],[11,"new","","Create a logistic distribution with location `mu` and scale `s`.",7,{"inputs":[{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"mu","","Return the location parameter.",7,null],[11,"s","","Return the scale parameter.",7,null],[11,"default","","",7,{"inputs":[],"output":{"name":"self"}}],[11,"density","","",7,null],[11,"distribution","","",7,null],[11,"entropy","","",7,null],[11,"inverse","","",7,null],[11,"kurtosis","","",7,null],[11,"mean","","",7,null],[11,"median","","",7,null],[11,"modes","","",7,null],[11,"sample","","",7,null],[11,"skewness","","",7,null],[11,"variance","","",7,null],[11,"clone","","",8,null],[11,"new","","Create a lognormal distribution with location `mu` and scale `sigma`.",8,{"inputs":[{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"mu","","Return the location parameter.",8,null],[11,"sigma","","Return the scale parameter.",8,null],[11,"default","","",8,{"inputs":[],"output":{"name":"self"}}],[11,"density","","",8,null],[11,"distribution","","",8,null],[11,"entropy","","",8,null],[11,"inverse","","",8,null],[11,"kurtosis","","",8,null],[11,"mean","","",8,null],[11,"median","","",8,null],[11,"modes","","",8,null],[11,"sample","","",8,null],[11,"skewness","","",8,null],[11,"variance","","",8,null],[11,"clone","","",9,null],[11,"new","","Create a triangular distribution with mode `c` on interval `[a, b]`.",9,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"a","","Return the left endpoint of the support.",9,null],[11,"b","","Return the right endpoint of the support.",9,null],[11,"c","","Return the mode parameter.",9,null],[11,"density","","",9,null],[11,"distribution","","",9,null],[11,"entropy","","",9,null],[11,"inverse","","",9,null],[11,"kurtosis","","",9,null],[11,"mean","","",9,null],[11,"median","","",9,null],[11,"modes","","",9,null],[11,"sample","","",9,null],[11,"skewness","","",9,null],[11,"variance","","",9,null],[11,"clone","","",10,null],[11,"new","","Create a uniform distribution on interval `[a, b]`.",10,{"inputs":[{"name":"f64"},{"name":"f64"}],"output":{"name":"self"}}],[11,"a","","Return the left endpoint of the support.",10,null],[11,"b","","Return the right endpoint of the support.",10,null],[11,"default","","",10,{"inputs":[],"output":{"name":"self"}}],[11,"density","","",10,null],[11,"distribution","","",10,null],[11,"entropy","","",10,null],[11,"inverse","","",10,null],[11,"kurtosis","","",10,null],[11,"mean","","",10,null],[11,"median","","",10,null],[11,"sample","","",10,null],[11,"skewness","","",10,null],[11,"variance","","",10,null],[8,"Continuous","","A continuous distribution.",null,null],[10,"density","","Compute the probability density function.",11,null],[8,"Discrete","","A discrete distribution.",null,null],[10,"mass","","Compute the probability mass function.",12,null],[8,"Distribution","","A distribution.",null,null],[16,"Value","","The type of outcomes.",13,null],[10,"distribution","","Compute the cumulative distribution function.",13,null],[8,"Entropy","","A distribution capable of computing the differential entropy.",null,null],[10,"entropy","","Compute the differential entropy.",14,null],[8,"Inverse","","A distribution capable of inverting the distribution function.",null,null],[10,"inverse","","Compute the inverse of the cumulative distribution function.",15,null],[8,"Kurtosis","","A distribution capable of computing the excess kurtosis.",null,null],[10,"kurtosis","","Compute the excess kurtosis.",16,null],[8,"Mean","","A distribution capable of computing the expected value.",null,null],[10,"mean","","Compute the expected value.",17,null],[8,"Median","","A distribution capable of computing the median.",null,null],[10,"median","","Compute the median.",18,null],[8,"Modes","","A distribution capable of computing the modes.",null,null],[10,"modes","","Compute the modes.",19,null],[8,"Sample","","A distribution capable of drawing samples.",null,null],[10,"sample","","Draw a sample.",20,null],[8,"Skewness","","A distribution capable of computing the skewness.",null,null],[10,"skewness","","Compute the skewness.",21,null],[8,"Variance","","A distribution capable of computing the variance.",null,null],[10,"variance","","Compute the variance.",22,null],[11,"deviation","","Compute the standard deviation.",22,null],[0,"prelude","probability","Reexports of commonly used entities.",null,null],[3,"Bernoulli","probability::prelude","A Bernoulli distribution.",null,null],[3,"Beta","","A beta distribution.",null,null],[3,"Binomial","","A binomial distribution.",null,null],[3,"Categorical","","A categorical distribution.",null,null],[3,"Exponential","","An exponential distribution.",null,null],[3,"Gamma","","A gamma distribution.",null,null],[3,"Gaussian","","A Gaussian distribution.",null,null],[3,"Logistic","","A logistic distribution.",null,null],[3,"Lognormal","","A lognormal distribution.",null,null],[3,"Triangular","","A triangular distribution.",null,null],[3,"Uniform","","A continuous uniform distribution.",null,null],[0,"sampler","probability","Samplers of random numbers.",null,null],[3,"Independent","probability::sampler","A means of drawing a sequence of independent samples.",null,null],[12,"0","","",23,null],[12,"1","","",23,null],[11,"next","","",23,null],[0,"source","probability","Sources of randomness.",null,null]],"paths":[[3,"Bernoulli"],[3,"Beta"],[3,"Binomial"],[3,"Categorical"],[3,"Exponential"],[3,"Gamma"],[3,"Gaussian"],[3,"Logistic"],[3,"Lognormal"],[3,"Triangular"],[3,"Uniform"],[8,"Continuous"],[8,"Discrete"],[8,"Distribution"],[8,"Entropy"],[8,"Inverse"],[8,"Kurtosis"],[8,"Mean"],[8,"Median"],[8,"Modes"],[8,"Sample"],[8,"Skewness"],[8,"Variance"],[3,"Independent"]]}; initSearch(searchIndex);