xgboost
Public Member Functions | Public Attributes | List of all members
xgboost::common::GHistIndexBlock Struct Reference

#include <hist_util.h>

Collaboration diagram for xgboost::common::GHistIndexBlock:
Collaboration graph

Public Member Functions

 GHistIndexBlock (const size_t *row_ptr, const uint32_t *index)
 
GHistIndexRow operator[] (size_t i) const
 

Public Attributes

const size_t * row_ptr
 
const uint32_t * index
 

Constructor & Destructor Documentation

◆ GHistIndexBlock()

xgboost::common::GHistIndexBlock::GHistIndexBlock ( const size_t *  row_ptr,
const uint32_t *  index 
)
inline

Member Function Documentation

◆ operator[]()

GHistIndexRow xgboost::common::GHistIndexBlock::operator[] ( size_t  i) const
inline

Member Data Documentation

◆ index

const uint32_t* xgboost::common::GHistIndexBlock::index

◆ row_ptr

const size_t* xgboost::common::GHistIndexBlock::row_ptr

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