Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
Err(e) pattern if the method failed. To abide to Rust’s Rich Error pattern, it is customary to add three other traits to complete the definition of an error: std::error::Error trait: convenient to be able to propagate the error using the ? operator and make a user defined error compatible with