Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8986573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:34:58+00:00 2026-06-15T21:34:58+00:00

I am currently writing a highly templated C++ helper class for vectorized operations and

  • 0

I am currently writing a highly templated C++ helper class for vectorized operations and I need a name for a specific operation.

I have already 2 functions with very common names taken from vectorial languages :

  • apply() which apply a function to each element of a vector
  • reduce() which apply a reduction operation over the vector and returns a scalar

Now I would like to implement another function, which is a mix between these two : it takes several vectors as an input, and apply a reduction operation over each line, and returns a vector.

To illustrate that, we have :

  • apply(func, vec) -> returns {func(vec[0]), func(vec[1]), ..., func(vec[n])}
  • reduce(func, vec) -> returns func(vec[0], vec[1], ..., vec[n])

and :

  • something(func, vec1, vec2, ..., vecn) ->
    returns {func(vec0[0], vec1[0], ..., vecn[0]), func(vec0[1], vec1[1], ..., vecn[1]), ..., func(vec0[n], vec1[n], ..., vecn[n])}

What would be a common name for this function (a simple verb like apply or reduce) (compatible with other vectorial languages if such a function exists) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:34:59+00:00Added an answer on June 15, 2026 at 9:34 pm

    Maybe zip_with which I’ve seen used from Haskell?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing my own shell as a project for a class, and have
I am currently writing a Java compiler and have implemented section 15.12.2.7. of the
I am currently writing an web application where you need to log in, using
I am currently writing a little helper-app for my big WinForms-Project. In this little
Im currently writing a C# wrapper for a C++ API, but a specific struct
Currently writing a class where methods that I am considering making private are spread
I am currently writing an application which performs a search operation requested by the
I am currently writing an application that requires bulk operations on a key/value store,
Currently writing a wifi positioning program and i need to scan the surrounding for
I am currently writing a Powershell module to provide functions for installing / operating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.