Template Struct standard_deviation_subtract_mean_impl::unary_function

Nested Relationships

This struct is a nested type of Struct standard_deviation_subtract_mean_impl.

Struct Documentation

template<typename InT, typename OutT>
struct unary_function

Calculates pow(a - mean, 2) for standard deviation

Param a:

1st argument

Template Parameters:
  • InT – The input type

  • OutT – The return type

Public Functions

__host__ __device__ OutT operator()(const InT &a) const