pub fn check_iteration_params<T>( max_iter: usize, tolerance: T, operation: &str, ) -> CoreResult<()>where T: Float + Display + Copy,
Validate algorithm iteration parameters
max_iter
tolerance
operation
Ok(())
Err(CoreError::ValueError)