Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9164 Analysis tools upgrade for release 6.14
  3. ROOT-8865

Offer easy way to handle collections and combinations thereof

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Completed
    • High
    • None
    • None
    • None
    • None

    Description

      TDF already allows to perform some operations on collections in a transparent way, for example histogram filling. It would be nice to have a high level way to perform things like:

      • coll<A> -> coll<B> where there is a method B A::GetAttr()
      • coll<A>, coll<B> -> coll<C> via a function C f(A,B) in two cases: nested loop (N^2) and linear (N)

      Languages like scala provide utilities to approach this issue: http://alvinalexander.com/scala/how-to-transform-collections-map-method-anonymous-functions-scala). Perhaps also looking at Python itertools can help.

      Attachments

        Activity

          People

            dpiparo Danilo Piparo
            dpiparo Danilo Piparo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual Start: