Struct standard_deviation_subtract_mean_impl

Nested Relationships

Nested Types

Struct Documentation

struct standard_deviation_subtract_mean_impl

standard_deviation_subtract_mean_impl is a manual expansion of FLAMEGPU_CUSTOM_TRANSFORM() This is required, so that the instance definition can be extern’d, as it is placed in a header

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