Skip to content

Provide cpp module #155

@henryiii

Description

@henryiii

There are some pythonisations (mostly related to arrays and indexing) that duplicate the C++ API. We could add a boost_histogram.cpp module, and this would provide the exact Boost.Histogram API where possible.

Things to move or provide there:

.at(i) # In Python: [] and bh.underflow/overflow
.axis(i) # Tuple `.axes` in Python

This might be supportable alongside boost_histogram, or it might inject the methods directly to the existing classes. I'm not sure I'm very excited about creating a new collection of classes -- but if it can be done carefully, it might work (Basically we need Ruby's extend...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions