pub unsafe extern "C" fn XGDMatrixCreateFromCSREx(
    indptr: *const usize,
    indices: *const c_uint,
    data: *const f32,
    nindptr: usize,
    nelem: usize,
    num_col: usize,
    out: *mut DMatrixHandle
) -> c_int
Expand description

\brief create a matrix content from CSR format \param indptr pointer to row headers \param indices findex \param data fvalue \param nindptr number of rows in the matrix + 1 \param nelem number of nonzero elements in the matrix \param num_col number of columns; when it’s set to 0, then guess from data \param out created dmatrix \return 0 when success, -1 when failure happens