Treelite
Public Member Functions | Static Public Member Functions | List of all members
CSRDMatrix Class Referenceabstract
Inheritance diagram for CSRDMatrix:
Inheritance graph
[legend]
Collaboration diagram for CSRDMatrix:
Collaboration graph
[legend]

Public Member Functions

size_t GetNumRow () const override=0
 
size_t GetNumCol () const override=0
 
size_t GetNumElem () const override=0
 
DMatrixType GetType () const override=0
 
TypeInfo GetElementType () const override
 

Static Public Member Functions

template<typename ElementType >
static std::unique_ptr< CSRDMatrixCreate (std::vector< ElementType > data, std::vector< uint32_t > col_ind, std::vector< size_t > row_ptr, size_t num_row, size_t num_col)
 
template<typename ElementType >
static std::unique_ptr< CSRDMatrixCreate (const void *data, const uint32_t *col_ind, const size_t *row_ptr, size_t num_row, size_t num_col)
 
static std::unique_ptr< CSRDMatrixCreate (TypeInfo type, const void *data, const uint32_t *col_ind, const size_t *row_ptr, size_t num_row, size_t num_col)
 
static std::unique_ptr< CSRDMatrixCreate (const char *filename, const char *format, const char *data_type, int nthread, int verbose)
 

Detailed Description

Definition at line 87 of file data.h.


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