CNum 0.2.1
CPU-optimized ML library for C++
Loading...
Searching...
No Matches
CNum::Data::Shelf Struct Reference

Contains bins and the ranges of values they represent. More...

#include <Data.h>

Public Member Functions

 Shelf ()
 Shelf (size_t nb)
Shelfoperator= (Shelf &&other)

Public Attributes

size_t num_bins
std::unique_ptr< Bin[]> bins
std::unique_ptr< double[]> ranges

Detailed Description

Contains bins and the ranges of values they represent.

Constructor & Destructor Documentation

◆ Shelf() [1/2]

CNum::Data::Shelf::Shelf ( )
inline

◆ Shelf() [2/2]

CNum::Data::Shelf::Shelf ( size_t nb)
inline

Member Function Documentation

◆ operator=()

Shelf & CNum::Data::Shelf::operator= ( Shelf && other)
inline

Member Data Documentation

◆ bins

std::unique_ptr<Bin[]> CNum::Data::Shelf::bins

◆ num_bins

size_t CNum::Data::Shelf::num_bins

◆ ranges

std::unique_ptr<double[]> CNum::Data::Shelf::ranges

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