Skip to content

Provide approximate equivalents for non fusing functions #219

@mchav

Description

@mchav

A number of functions that rely on robust sum don't fuse because of the constraint that the sum truncate as little as possible (using Numeric.Sum). I haven't tested out how much accuracy is lost but I think it might be worth having a faster version of functions like mean that does fuse by folding over the elements, accumulating the sum and length in one pass then finally adding.

Maybe called approxMean?

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