protocol
univariate_distributions_protocol
Univariate probability distribution predicates.
logtalk_load(univariate_distributions(loader))staticPublic predicates
standard_normal/1
Returns a standard normally distributed random value.
staticstandard_normal(Value)standard_normal(-float) - onestandard_normal_samples/2
Returns the requested number of standard normally distributed random values.
staticstandard_normal_samples(Count,Samples)standard_normal_samples(+integer,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)normal/3
Returns a normally distributed random value with the given mean and standard deviation. A zero deviation returns the mean.
staticnormal(Mean,Deviation,Value)normal(+float,+non_negative_float,-float) - one_or_errorMean is a variable:instantiation_errorMean is neither a variable nor a float:type_error(float,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a float:type_error(float,Deviation)Deviation is a negative float:domain_error(non_negative_float,Deviation)normal_samples/4
Returns the requested number of normally distributed random values with the given mean and standard deviation.
staticnormal_samples(Count,Mean,Deviation,Samples)normal_samples(+integer,+float,+non_negative_float,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)Mean is a variable:instantiation_errorMean is neither a variable nor a float:type_error(float,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a float:type_error(float,Deviation)Deviation is a negative float:domain_error(non_negative_float,Deviation)standard_normal_density/2
Computes the standard normal probability density at the given value.
staticstandard_normal_density(Value,Density)standard_normal_density(+number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)standard_normal_log_density/2
Computes the standard normal log-density at the given value.
staticstandard_normal_log_density(Value,LogDensity)standard_normal_log_density(+number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)standard_normal_distribution/2
Computes an approximation of the standard normal cumulative distribution at the given value.
staticstandard_normal_distribution(Value,Probability)standard_normal_distribution(+number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)standard_normal_quantile/2
Computes an approximation of the standard normal quantile for a probability strictly between zero and one.
staticstandard_normal_quantile(Probability,Quantile)standard_normal_quantile(+open_probability,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)normal_density/4
Computes the normal probability density at a value for the given mean and positive standard deviation.
staticnormal_density(Value,Mean,Deviation,Density)normal_density(+number,+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Mean is a variable:instantiation_errorMean is neither a variable nor a number:type_error(number,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a number:type_error(number,Deviation)Deviation is a number but not a positive number:domain_error(positive_number,Deviation)normal_log_density/4
Computes the normal log-density at a value for the given mean and positive standard deviation.
staticnormal_log_density(Value,Mean,Deviation,LogDensity)normal_log_density(+number,+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Mean is a variable:instantiation_errorMean is neither a variable nor a number:type_error(number,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a number:type_error(number,Deviation)Deviation is a number but not a positive number:domain_error(positive_number,Deviation)normal_distribution/4
Computes an approximation of the normal cumulative distribution at a value for the given mean and positive standard deviation.
staticnormal_distribution(Value,Mean,Deviation,Probability)normal_distribution(+number,+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Mean is a variable:instantiation_errorMean is neither a variable nor a number:type_error(number,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a number:type_error(number,Deviation)Deviation is a number but not a positive number:domain_error(positive_number,Deviation)normal_quantile/4
Computes an approximation of the normal quantile for a probability strictly between zero and one and the given mean and positive standard deviation.
staticnormal_quantile(Probability,Mean,Deviation,Quantile)normal_quantile(+open_probability,+number,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)Mean is a variable:instantiation_errorMean is neither a variable nor a number:type_error(number,Mean)Deviation is a variable:instantiation_errorDeviation is neither a variable nor a number:type_error(number,Deviation)Deviation is a number but not a positive number:domain_error(positive_number,Deviation)standard_t/2
Returns a standard Student’s t distributed random value.
staticstandard_t(DegreesOfFreedom,Value)standard_t(+positive_number,-float) - one_or_errorDegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)standard_t_samples/3
Returns the requested number of standard Student’s t distributed random values.
staticstandard_t_samples(Count,DegreesOfFreedom,Samples)standard_t_samples(+integer,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)standard_t_density/3
Computes the standard Student’s t probability density at the given value.
staticstandard_t_density(Value,DegreesOfFreedom,Density)standard_t_density(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)standard_t_log_density/3
Computes the standard Student’s t log-density at the given value.
staticstandard_t_log_density(Value,DegreesOfFreedom,LogDensity)standard_t_log_density(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)standard_t_distribution/3
Computes an approximation of the standard Student’s t cumulative distribution at the given value.
staticstandard_t_distribution(Value,DegreesOfFreedom,Probability)standard_t_distribution(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)standard_t_quantile/3
Computes an approximation of the standard Student’s t quantile for a probability strictly between zero and one.
staticstandard_t_quantile(Probability,DegreesOfFreedom,Quantile)standard_t_quantile(+open_probability,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t/4
Returns a location-scale Student’s t distributed random value.
statict(Location,Scale,DegreesOfFreedom,Value)t(+number,+positive_number,+positive_number,-float) - one_or_errorLocation is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t_samples/5
Returns the requested number of location-scale Student’s t distributed random values.
statict_samples(Count,Location,Scale,DegreesOfFreedom,Samples)t_samples(+integer,+number,+positive_number,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)Location is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t_density/5
Computes the location-scale Student’s t probability density.
statict_density(Value,Location,Scale,DegreesOfFreedom,Density)t_density(+number,+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Location is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t_log_density/5
Computes the location-scale Student’s t log-density.
statict_log_density(Value,Location,Scale,DegreesOfFreedom,LogDensity)t_log_density(+number,+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Location is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t_distribution/5
Computes an approximation of the location-scale Student’s t cumulative distribution.
statict_distribution(Value,Location,Scale,DegreesOfFreedom,Probability)t_distribution(+number,+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Location is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)t_quantile/5
Computes an approximation of the location-scale Student’s t quantile for a probability strictly between zero and one.
statict_quantile(Probability,Location,Scale,DegreesOfFreedom,Quantile)t_quantile(+open_probability,+number,+positive_number,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)Location is a variable:instantiation_errorLocation is neither a variable nor a number:type_error(number,Location)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared/2
Returns a chi-squared distributed random value.
staticchi_squared(DegreesOfFreedom,Value)chi_squared(+positive_number,-float) - one_or_errorDegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared_samples/3
Returns the requested number of chi-squared distributed random values.
staticchi_squared_samples(Count,DegreesOfFreedom,Samples)chi_squared_samples(+integer,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared_density/3
Computes the chi-squared probability density at the given value. At zero, returns the atom positive_infinity when the degrees of freedom are smaller than two.
staticchi_squared_density(Value,DegreesOfFreedom,Density)chi_squared_density(+number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared_log_density/3
Computes the chi-squared log-density at the given value. Returns the atoms positive_infinity or negative_infinity when the density is respectively infinite or zero.
staticchi_squared_log_density(Value,DegreesOfFreedom,LogDensity)chi_squared_log_density(+number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared_distribution/3
Computes an approximation of the chi-squared cumulative distribution at the given value.
staticchi_squared_distribution(Value,DegreesOfFreedom,Probability)chi_squared_distribution(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)chi_squared_quantile/3
Computes an approximation of the chi-squared quantile for a probability strictly between zero and one.
staticchi_squared_quantile(Probability,DegreesOfFreedom,Quantile)chi_squared_quantile(+open_probability,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)DegreesOfFreedom is a variable:instantiation_errorDegreesOfFreedom is neither a variable nor a number:type_error(number,DegreesOfFreedom)DegreesOfFreedom is a number but not a positive number:domain_error(positive_number,DegreesOfFreedom)gamma/3
Returns a gamma distributed random value (shape-scale parameterization).
staticgamma(Shape,Scale,Value)gamma(+positive_number,+positive_number,-float) - one_or_errorShape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)gamma_samples/4
Returns the requested number of gamma distributed random values.
staticgamma_samples(Count,Shape,Scale,Samples)gamma_samples(+integer,+positive_number,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)Shape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)gamma_density/4
Computes the gamma probability density at the given value. At zero, returns the atom positive_infinity when the shape is smaller than one.
staticgamma_density(Value,Shape,Scale,Density)gamma_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Shape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)gamma_log_density/4
Computes the gamma log-density at the given value. Returns the atoms positive_infinity or negative_infinity when the density is respectively infinite or zero.
staticgamma_log_density(Value,Shape,Scale,LogDensity)gamma_log_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Shape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)gamma_distribution/4
Computes an approximation of the gamma cumulative distribution at the given value.
staticgamma_distribution(Value,Shape,Scale,Probability)gamma_distribution(+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Shape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)gamma_quantile/4
Computes an approximation of the gamma quantile for a probability strictly between zero and one.
staticgamma_quantile(Probability,Shape,Scale,Quantile)gamma_quantile(+open_probability,+positive_number,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)Shape is a variable:instantiation_errorShape is neither a variable nor a number:type_error(number,Shape)Shape is not positive:domain_error(positive_number,Shape)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)beta/3
Returns a beta distributed random value.
staticbeta(Alpha,Beta,Value)beta(+positive_number,+positive_number,-float) - one_or_errorAlpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)beta_samples/4
Returns the requested number of beta distributed random values.
staticbeta_samples(Count,Alpha,Beta,Samples)beta_samples(+integer,+positive_number,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)Alpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)beta_density/4
Computes the beta probability density at the given value. At either endpoint, returns the atom positive_infinity when the corresponding shape parameter is smaller than one.
staticbeta_density(Value,Alpha,Beta,Density)beta_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Alpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)beta_log_density/4
Computes the beta log-density at the given value. Returns the atoms positive_infinity or negative_infinity when the density is respectively infinite or zero.
staticbeta_log_density(Value,Alpha,Beta,LogDensity)beta_log_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Alpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)beta_distribution/4
Computes an approximation of the beta cumulative distribution at the given value.
staticbeta_distribution(Value,Alpha,Beta,Probability)beta_distribution(+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Alpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)beta_quantile/4
Computes an approximation of the beta quantile for a probability strictly between zero and one.
staticbeta_quantile(Probability,Alpha,Beta,Quantile)beta_quantile(+open_probability,+positive_number,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)Alpha is a variable:instantiation_errorAlpha is neither a variable nor a number:type_error(number,Alpha)Alpha is not positive:domain_error(positive_number,Alpha)Beta is a variable:instantiation_errorBeta is neither a variable nor a number:type_error(number,Beta)Beta is not positive:domain_error(positive_number,Beta)exponential/2
Returns an exponentially distributed random value (scale parameterization).
staticexponential(Scale,Value)exponential(+positive_number,-float) - one_or_errorScale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)exponential_samples/3
Returns the requested number of exponentially distributed random values.
staticexponential_samples(Count,Scale,Samples)exponential_samples(+integer,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)exponential_density/3
Computes the exponential probability density at the given value.
staticexponential_density(Value,Scale,Density)exponential_density(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)exponential_log_density/3
Computes the exponential log-density at the given value.
staticexponential_log_density(Value,Scale,LogDensity)exponential_log_density(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)exponential_distribution/3
Computes the exponential cumulative distribution at the given value.
staticexponential_distribution(Value,Scale,Probability)exponential_distribution(+number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)exponential_quantile/3
Computes the exponential quantile for a probability strictly between zero and one.
staticexponential_quantile(Probability,Scale,Quantile)exponential_quantile(+open_probability,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)Scale is a variable:instantiation_errorScale is neither a variable nor a number:type_error(number,Scale)Scale is not positive:domain_error(positive_number,Scale)fisher/3
Returns a Fisher-Snedecor (F) distributed random value.
staticfisher(DegreesOfFreedom1,DegreesOfFreedom2,Value)fisher(+positive_number,+positive_number,-float) - one_or_errorDegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)fisher_samples/4
Returns the requested number of Fisher-Snedecor (F) distributed random values.
staticfisher_samples(Count,DegreesOfFreedom1,DegreesOfFreedom2,Samples)fisher_samples(+integer,+positive_number,+positive_number,-list(float)) - one_or_errorCount is a variable:instantiation_errorCount is neither a variable nor an integer:type_error(integer,Count)Count is an integer but not a non-negative integer:domain_error(non_negative_integer,Count)DegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)fisher_density/4
Computes the Fisher-Snedecor (F) probability density at the given value. At zero, returns the atom positive_infinity when the first degrees of freedom are smaller than two.
staticfisher_density(Value,DegreesOfFreedom1,DegreesOfFreedom2,Density)fisher_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)fisher_log_density/4
Computes the Fisher-Snedecor (F) log-density at the given value. Returns the atoms positive_infinity or negative_infinity when the density is respectively infinite or zero.
staticfisher_log_density(Value,DegreesOfFreedom1,DegreesOfFreedom2,LogDensity)fisher_log_density(+number,+positive_number,+positive_number,-atomic) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)fisher_distribution/4
Computes an approximation of the Fisher-Snedecor (F) cumulative distribution at the given value.
staticfisher_distribution(Value,DegreesOfFreedom1,DegreesOfFreedom2,Probability)fisher_distribution(+number,+positive_number,+positive_number,-float) - one_or_errorValue is a variable:instantiation_errorValue is neither a variable nor a number:type_error(number,Value)DegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)fisher_quantile/4
Computes an approximation of the Fisher-Snedecor (F) quantile for a probability strictly between zero and one.
staticfisher_quantile(Probability,DegreesOfFreedom1,DegreesOfFreedom2,Quantile)fisher_quantile(+open_probability,+positive_number,+positive_number,-float) - one_or_errorProbability is a variable:instantiation_errorProbability is neither a variable nor a float:type_error(float,Probability)Probability is a float but not strictly between zero and one:domain_error(open_probability,Probability)DegreesOfFreedom1 is a variable:instantiation_errorDegreesOfFreedom1 is neither a variable nor a number:type_error(number,DegreesOfFreedom1)DegreesOfFreedom1 is not positive:domain_error(positive_number,DegreesOfFreedom1)DegreesOfFreedom2 is a variable:instantiation_errorDegreesOfFreedom2 is neither a variable nor a number:type_error(number,DegreesOfFreedom2)DegreesOfFreedom2 is not positive:domain_error(positive_number,DegreesOfFreedom2)Protected predicates
(none)
Private predicates
(none)
Operators
(none)