I'm refactoring some classes from the maths package to have a cleaner, more concise, easier to maintain and better documented code. I'm creating an issue for each algorithm file.
I'm refactoring the AbsoluteMax again because I realized it can be improved even further by replacing the if inside forEach with a filter in the Stream.