Skip to main content

Module error

Module error 

Source
Expand description

Error types and handling for copula-core.

This module defines the main error type CopulaError and result type Result used throughout the library. All copula operations that can fail return a Result<T> where the error type is CopulaError.

Enums§

CopulaError
Errors that can occur in copula operations.

Functions§

validate_dimensions
Validate matrix dimensions.
validate_finite_data
Validate that data contains no NaN or infinite values.
validate_non_negative
Validate that a parameter is non-negative.
validate_positive
Validate that a parameter is positive.
validate_range
Validate that a parameter is in a specified range.
validate_unit_range
Validate that all values are in the range [0, 1].

Type Aliases§

Result
Result type used throughout the crate.