Public Member Functions | Public Attributes | List of all members
cudf::approx_distinct_count::desired_standard_error Struct Reference

Strong type wrapper for the desired standard error constructor parameter. More...

#include <approx_distinct_count.hpp>

Public Member Functions

constexpr desired_standard_error (double v)
 Constructs a desired_standard_error with the given value. More...
 

Public Attributes

double value
 The requested standard error value (must be positive)
 

Detailed Description

Strong type wrapper for the desired standard error constructor parameter.

Use this type to construct an approx_distinct_count with a desired error tolerance instead of specifying precision directly.

Example:

Object-oriented HyperLogLog sketch for approximate distinct counting.
cuda::std::span< cuda::std::byte > sketch() noexcept
Gets the raw sketch bytes for serialization or external merging.
Strong type wrapper for the desired standard error constructor parameter.

Definition at line 99 of file approx_distinct_count.hpp.

Constructor & Destructor Documentation

◆ desired_standard_error()

constexpr cudf::approx_distinct_count::desired_standard_error::desired_standard_error ( double  v)
inlineexplicitconstexpr

Constructs a desired_standard_error with the given value.

Parameters
vThe requested standard error value (must be positive, e.g., 0.01 for ~1% error)

Definition at line 106 of file approx_distinct_count.hpp.


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