module IntMap = BatMap.Int
type norm =
| Max_norm
| L1_norm
val of_string : string -> norm
val map_norm : norm -> int IntMap.t -> float