Lattices-0.0.2: A library for lattices
Math.Lattices.Internal
Description
Some internal convenience functions for use in Math.Lattices
Synopsis
norm2 :: Num a => [a] -> a Source
Just an easy way to write $||v||^2$
rnd :: (Integral a, Integral b) => Ratio a -> b Source
Closest 'Integral to the given n, rounding up. $lfloor nrceil$