Public Member Functions |
| | Dcsc () |
| | Dcsc (IT nnz, IT nzcol) |
| | Dcsc (IT nnz, const vector< IT > &indices, bool isRow) |
| | Create a logical matrix from (row/column) indices vector.
|
| | Dcsc (StackEntry< NT, pair< IT, IT > > *multstack, IT mdim, IT ndim, IT nnz) |
| | Dcsc (const Dcsc< IT, NT > &rhs) |
| Dcsc< IT, NT > & | operator= (const Dcsc< IT, NT > &rhs) |
| Dcsc< IT, NT > & | operator+= (const Dcsc< IT, NT > &rhs) |
| | ~Dcsc () |
| bool | operator== (const Dcsc< IT, NT > &rhs) |
| template<typename NNT > |
| | operator Dcsc< IT, NNT > () const |
| template<typename NIT , typename NNT > |
| | operator Dcsc< NIT, NNT > () const |
| void | EWiseMult (const Dcsc< IT, NT > &rhs, bool exclude) |
| void | EWiseScale (NT **scaler) |
| template<typename _UnaryOperation > |
| void | Apply (_UnaryOperation __unary_op) |
| template<typename _UnaryOperation > |
| Dcsc< IT, NT > * | Prune (_UnaryOperation __unary_op, bool inPlace) |
| IT | AuxIndex (const IT colind, bool &found, IT *aux, IT csize) const |
| void | RowSplit (int numsplits) |
| void | Split (Dcsc< IT, NT > *&A, Dcsc< IT, NT > *&B, IT cut) |
| void | Merge (const Dcsc< IT, NT > *Adcsc, const Dcsc< IT, NT > *B, IT cut) |
| IT | ConstructAux (IT ndim, IT *&aux) const |
| void | Resize (IT nzcnew, IT nznew) |
| template<class VT > |
| void | FillColInds (const VT *colnums, IT nind, vector< pair< IT, IT > > &colinds, IT *aux, IT csize) const |
| Dcsc< IT, NT > & | AddAndAssign (StackEntry< NT, pair< IT, IT > > *multstack, IT mdim, IT ndim, IT nnz) |
| template<typename _BinaryOperation > |
| void | UpdateDense (NT **array, _BinaryOperation __binary_op) const |
template<class IT, class NT>
class Dcsc< IT, NT >
Definition at line 45 of file dcsc.h.
template<class IT , class NT >
template<class VT >
| void Dcsc< IT, NT >::FillColInds |
( |
const VT * |
colnums, |
|
|
IT |
nind, |
|
|
vector< pair< IT, IT > > & |
colinds, |
|
|
IT * |
aux, |
|
|
IT |
csize |
|
) |
| const |
param[in] nind { length(colsums), gives number of columns of A that contributes to C(:,i) } Vector type VT is allowed to be different than matrix type (IT) However, VT should be up-castable to IT (example: VT=int32_t, IT=int64_t)
Definition at line 826 of file dcsc.cpp.