Most statistics functions can fail if certain invariants aren't met. These invariants must be checked against at runtime, therefore functions should return Results rather than values.
A single result type should be defined for the library with a single error type that implements the Error trait. This will be a very breaking change to the api!
Most statistics functions can fail if certain invariants aren't met. These invariants must be checked against at runtime, therefore functions should return Results rather than values.
A single result type should be defined for the library with a single error type that implements the
Errortrait. This will be a very breaking change to the api!