std::experimental::max(3)

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

πŸ’– NAME πŸ’–

okay so this is the std::experimental::max(3) page from the C++ Standard Libary manual, and the NAME line is literally std::experimental::max - std::experimental::max β€” yes bestie, it's the same thing twice and it's iconic πŸ’….


🧚 Synopsis 🧚

Defined in header <experimental/simd> ✨. Here's the signature in all its glory:

template< class T, class Abi >
simd<T, Abi> max( const simd<T, Abi>& a, const simd<T, Abi>& b
(parallelism TS v2)
) noexcept;

🌸 Parameters 🌸

Two params, bestie, and they're both vectors of elements for max:

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

✨ Return value ✨

The result of binary element-wise application of std::max(a[i], b[i]) for all i ∈ [0, size()). That's the whole return vibe β€” binary, element-wise, and returned to you πŸ’–.


πŸŽ€ Example πŸŽ€

This section is incomplete 😭. Reason: no example.


πŸ¦‹ See also πŸ¦‹

Nothing is listed under See also here, bestie β€” the page just goes straight on to Category.


πŸ—‚οΈ Category πŸ—‚οΈ

  • Todo no example

mwah πŸ’‹ β€” source: http://cppreference.com, version/date: 2024.06.10, page: std::experimental::max(3). Bye bestie 🫢

πŸ“¦ where this page comes from