Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
combine_gaussians in datafusion::logical_expr::statistics - Rust
[go: Go Back, main page]

Function combine_gaussians

Source
pub fn combine_gaussians(
    op: &Operator,
    left: &GaussianDistribution,
    right: &GaussianDistribution,
) -> Result<Option<GaussianDistribution>, DataFusionError>
Expand description

Applies the given operation to the given Gaussian distributions. Currently, this function handles only addition and subtraction operations. If the result is not a Gaussian random variable, it returns None. For details, see:

https://en.wikipedia.org/wiki/Sum_of_normally_distributed_random_variables