Public Member Functions | List of all members
xgboost::common::SparseColumn< BinIdxType > Class Template Reference

#include <column_matrix.h>

Inheritance diagram for xgboost::common::SparseColumn< BinIdxType >:
Inheritance graph
Collaboration diagram for xgboost::common::SparseColumn< BinIdxType >:
Collaboration graph

Public Member Functions

 SparseColumn (ColumnType type, common::Span< const BinIdxType > index, uint32_t index_base, common::Span< const size_t > row_ind)
const size_t * GetRowData () const
size_t GetRowIdx (size_t idx) const
- Public Member Functions inherited from xgboost::common::Column< BinIdxType >
 Column (ColumnType type, common::Span< const BinIdxType > index, const uint32_t index_base)
virtual ~Column ()=default
uint32_t GetGlobalBinIdx (size_t idx) const
BinIdxType GetFeatureBinIdx (size_t idx) const
const uint32_t GetBaseIdx () const
common::Span< const BinIdxType > GetFeatureBinIdxPtr () const
ColumnType GetType () const
size_t Size () const

Constructor & Destructor Documentation

◆ SparseColumn()

template<typename BinIdxType >
xgboost::common::SparseColumn< BinIdxType >::SparseColumn ( ColumnType  type,
common::Span< const BinIdxType >  index,
uint32_t  index_base,
common::Span< const size_t >  row_ind 

Member Function Documentation

◆ GetRowData()

template<typename BinIdxType >
const size_t* xgboost::common::SparseColumn< BinIdxType >::GetRowData ( ) const

◆ GetRowIdx()

template<typename BinIdxType >
size_t xgboost::common::SparseColumn< BinIdxType >::GetRowIdx ( size_t  idx) const

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