Skip to content

Extend arithmetic operator support for accumulators #352

Description

@HDembinski

All accumulators support addition and scaling (multiplication by a constant). Additionally, we could support subtraction, multiplication, and division.

Subtraction

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

Multiplication

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

Division

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

How to implement division and multiplication for weighted mean is mathematically not clear to me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions