OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
quantile::detail::anonymous_namespace{quantile.h}::OrderByMeanAscCountDesc< RealType, IndexType > Struct Template Reference

#include <quantile.h>

Public Types

using Value = double_sort::Value< RealType, IndexType >
 

Public Member Functions

DEVICE bool operator() (Value const &a, Value const &b) const
 

Detailed Description

template<typename RealType, typename IndexType>
struct quantile::detail::anonymous_namespace{quantile.h}::OrderByMeanAscCountDesc< RealType, IndexType >

Definition at line 338 of file quantile.h.

Member Typedef Documentation

template<typename RealType , typename IndexType >
using quantile::detail::anonymous_namespace{quantile.h}::OrderByMeanAscCountDesc< RealType, IndexType >::Value = double_sort::Value<RealType, IndexType>

Definition at line 339 of file quantile.h.

Member Function Documentation

template<typename RealType , typename IndexType >
DEVICE bool quantile::detail::anonymous_namespace{quantile.h}::OrderByMeanAscCountDesc< RealType, IndexType >::operator() ( Value const &  a,
Value const &  b 
) const
inline

Definition at line 341 of file quantile.h.

References double_sort::Value< T0, T1 >::value0(), and double_sort::Value< T0, T1 >::value1().

341  {
342  auto const lhs = a.value0() * b.value1();
343  auto const rhs = b.value0() * a.value1();
344  return lhs < rhs || (lhs == rhs && b.value1() < a.value1());
345  }
constexpr double a
Definition: Utm.h:32

+ Here is the call graph for this function:


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