VTK-m  2.0
Public Member Functions | List of all members
vtkm::Product Struct Reference

Binary Predicate that takes two arguments argument x, and y and returns product (multiplication) of the two values. More...

#include <BinaryOperators.h>

Public Member Functions

template<typename T , typename U >
VTKM_EXEC_CONT auto operator() (const T &x, const U &y) const -> decltype(x *y)
 

Detailed Description

Binary Predicate that takes two arguments argument x, and y and returns product (multiplication) of the two values.

Note
Requires a suitable definition of operator*(T, U).

Member Function Documentation

◆ operator()()

template<typename T , typename U >
VTKM_EXEC_CONT auto vtkm::Product::operator() ( const T &  x,
const U &  y 
) const -> decltype(x * y)
inline

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