xgboost

Classes | Public Types | Public Member Functions | List of all members
xgboost::common::Range Class Reference

`#include <common.h>`

Collaboration diagram for xgboost::common::Range:

## Classes
class | Iterator

## Public Types
using | DifferenceType = int64_t

## Public Member Functions
XGBOOST_DEVICE Iterator | begin () const
XGBOOST_DEVICE Iterator | end () const
XGBOOST_DEVICE | Range (DifferenceType begin, DifferenceType end)
XGBOOST_DEVICE | Range (DifferenceType begin, DifferenceType end, DifferenceType step)
XGBOOST_DEVICE bool | operator== (const Range &other) const
XGBOOST_DEVICE bool | operator!= (const Range &other) const
XGBOOST_DEVICE void | Step (DifferenceType s)

## Member Typedef Documentation

## ◆ DifferenceType

using xgboost::common::Range::DifferenceType = int64_t

## Constructor & Destructor Documentation

## ◆ Range() [1/2]

XGBOOST_DEVICE xgboost::common::Range::Range | ( | DifferenceType | begin,
|  | DifferenceType | end
| ) |  |
| inline

## ◆ Range() [2/2]

XGBOOST_DEVICE xgboost::common::Range::Range | ( | DifferenceType | begin,
|  | DifferenceType | end,
|  | DifferenceType | step
| ) |  |
| inline

## Member Function Documentation

## ◆ begin()

XGBOOST_DEVICE Iterator xgboost::common::Range::begin | ( |  | ) | const
| inline

## ◆ end()

XGBOOST_DEVICE Iterator xgboost::common::Range::end | ( |  | ) | const
| inline

## ◆ operator!=()

XGBOOST_DEVICE bool xgboost::common::Range::operator!= | ( | const Range & | other | ) | const
| inline

## ◆ operator==()

XGBOOST_DEVICE bool xgboost::common::Range::operator== | ( | const Range & | other | ) | const
| inline

## ◆ Step()

XGBOOST_DEVICE void xgboost::common::Range::Step | ( | DifferenceType | s | ) |
| inline

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

- /workspace/src/common/common.h