superbobry / pareto

GSL powered OCaml statistics library
http://superbobry.github.io/pareto/0.2
MIT License
40 stars 5 forks source link

Element-wise arithmetic operations #23

Open superbobry opened 11 years ago

superbobry commented 11 years ago

It would be nice to have a module, which operates on arrays element-wise:

let open Elementwise in 
abs xs -. ys

However, implementing this requires more thinking: