pareto icon indicating copy to clipboard operation
pareto copied to clipboard

Element-wise arithmetic operations

Open superbobry opened this issue 12 years ago • 0 comments

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:

  • Can we do deforrestation of any kind? for instance, operations might return a proxy object, which can only be evaluated with some special function.
  • What about scalar-operations, vs /. 42.0?

superbobry avatar Jun 17 '13 20:06 superbobry