SpECTRE  v2024.03.19
funcl::ElementWise< C > Struct Template Reference

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)
 

Detailed Description

template<typename C>
struct funcl::ElementWise< C >

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.


The documentation for this struct was generated from the following file: