|
SpECTRE
v2025.08.19
|
Function that applies C to every element of the operands. This function is currently only tested for std::vector operands. Operands other than the first may be a single value, which is applied element-wise to the vector. If needed, this function can be generalized further.
More...
#include <Functional.hpp>
Public Member Functions | |
| template<typename T0 , typename... Ts> | |
| auto | operator() (const T0 &t0, const Ts &... ts) |
Function that applies C to every element of the operands. This function is currently only tested for std::vector operands. Operands other than the first may be a single value, which is applied element-wise to the vector. If needed, this function can be generalized further.