Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn normalize(self) {
- loop {
- match self.coefficients.as_slice() {
- [0, _] => {
- self.coefficients.remove(0);
- }
- a => break,
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement