Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- normalize :: [Float]->[Float]
- normalize list = map (imp list) list
- where imp = (flip (/)) .sqrt . sum . map (^2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement