Skip to main content

information_inverse

Function information_inverse 

Source
pub fn information_inverse(
    information: &FlatMatrix,
    diagonal: &[f64],
    rows: usize,
) -> Result<InformationInverse, FittingError>
Expand description

InformationInverse of information, the expected information of rows counts, scaled to diagonal.

§Errors

FittingError::InvalidConfig if information is not square, does not hold its entries, has an entry that is not finite, or is not symmetric to 1e-12 of √(dᵢdⱼ), or if diagonal is not one finite non-negative entry per row, zero only on a row of zeros; FittingError::EvaluationFailed if its eigendecomposition fails.