entropium 0.1.0

Information-theory primitives: entropy, joint entropy, conditional entropy, and mutual information
Documentation
1
2
3
4
5
6
7
8
9
10
//! Error types for the entropium crate.

/// Errors that can occur when computing information-theoretic quantities.
#[derive(Debug, Clone, PartialEq)]
pub enum InfoError {
    /// The input slice(s) were empty; at least one observation is required.
    EmptyInput,
    /// The two input slices had different lengths (`left` vs `right`).
    LengthMismatch { left: usize, right: usize },
}