Skip to content

Feature: Split MinMax and ArgMinMax reductions #322

@ashvardanian

Description

@ashvardanian

Describe what you are looking for

Finding the minimum and the maximum value in a sequence is fundamentally cheaper, than locating that offset position in a vectorized form. It potentially makes sense to split nk_reduce_minmax into two APIs:

  • nk_reduce_argminmax - returning two offsets
  • nk_reduce_minmax - returning two scalar values

Relates to #315

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions