std::experimental::min(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– std::experimental::min(3) πŸ’–

okay so bestie, this is the std::experimental::min page from the C++ Standard Libary manual. Yes, that's the manual name fr fr β€” and we're about to get into some SIMD min realness. ✨


πŸ’– NAME πŸ’–

std::experimental::min β€” std::experimental::min (yes, it's giving title-repeat energy, but that's literally what the page says πŸ’…)


🌸 Synopsis 🌸

Defined in header <experimental/simd>
template< class T, class Abi >
simd<T, Abi> min( const simd<T, Abi>& a, const simd<T, Abi>& b
(parallelism TS v2)
) noexcept;

parallelism TS v2 is right there in the signature, and it's noexcept, so no surprise throwing drama. 🫢


πŸŽ€ Parameters πŸŽ€

  • a β€” the first vector of elements for min
  • b β€” the second vector of elements for min

πŸ¦‹ Return value πŸ¦‹

The result of binary element-wise application of std::min(a[i], b[i]) for all i ∈ [0, size()).

That's the whole vibe: element-wise, binary, and applied across that range. exactly that. ⭐


πŸ“ Example πŸ“

This section is incomplete Reason: no example

😭 not me finding an unfinished section β€” it literally says there's no example. We move anyway. πŸ’€


πŸ‘€ See also πŸ‘€

Category:

  • Todo no example

🌈 Category 🌈

  • Todo no example

okay bye bestie 🫢 this was the std::experimental::min(3) page, source/version http://cppreference.com, dated 2024.06.10. Catch you in the next manpage, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from