Function new_generic_from_binary_op

Source
pub fn new_generic_from_binary_op(
    op: &Operator,
    left: &Distribution,
    right: &Distribution,
) -> Result<Distribution, DataFusionError>
Expand description

Creates a new Generic distribution that represents the result of the given binary operation on two unknown quantities represented by their Distribution objects. The function computes the mean, median and variance if possible.