Advertisement
fsimen

Normalizare

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