Home
last modified time | relevance | path

Searched refs:n_row (Results 1 – 3 of 3) sorted by relevance

/external/eigen/Eigen/src/OrderingMethods/
DEigen_Colamd.h206 inline IndexType colamd_r(IndexType n_row) in colamd_r() argument
207 { return IndexType(((n_row) + 1) * sizeof (Colamd_Row<IndexType>) / sizeof (IndexType)); } in colamd_r()
211 static IndexType init_rows_cols (IndexType n_row, IndexType n_col, Colamd_Row<IndexType> Row [], co…
214 static void init_scoring (IndexType n_row, IndexType n_col, Colamd_Row<IndexType> Row [], colamd_co…
217 static IndexType find_ordering (IndexType n_row, IndexType n_col, IndexType Alen, Colamd_Row<IndexT…
226 static IndexType garbage_collection (IndexType n_row, IndexType n_col, Colamd_Row<IndexType> Row []…
229 static inline IndexType clear_mark (IndexType n_row, Colamd_Row<IndexType> Row [] ) ;
257 inline IndexType colamd_recommended ( IndexType nnz, IndexType n_row, IndexType n_col) in colamd_recommended() argument
259 if ((nnz) < 0 || (n_row) < 0 || (n_col) < 0) in colamd_recommended()
262 return (2 * (nnz) + colamd_c (n_col) + colamd_r (n_row) + (n_col) + ((nnz) / 5)); in colamd_recommended()
[all …]
/external/eigen/bench/
Dsparse_setter.cpp300 void coo_tocsr(const int n_row, in coo_tocsr() argument
310 std::fill(Bp, Bp + n_row, 0); in coo_tocsr()
317 for(int i = 0, cumsum = 0; i < n_row; i++){ in coo_tocsr()
322 Bp[n_row] = nnz; in coo_tocsr()
335 for(int i = 0, last = 0; i <= n_row; i++){ in coo_tocsr()
351 void csr_sort_indices(const I n_row, in csr_sort_indices() argument
358 for(I i = 0; i < n_row; i++){ in csr_sort_indices()
378 void csr_sum_duplicates(const I n_row, in csr_sum_duplicates() argument
386 for(I i = 0; i < n_row; i++){ in csr_sum_duplicates()
/external/eigen/Eigen/src/UmfPackSupport/
DUmfPackSupport.h56 inline int umfpack_symbolic(int n_row,int n_col, in umfpack_symbolic() argument
60 return umfpack_di_symbolic(n_row,n_col,Ap,Ai,Ax,Symbolic,Control,Info); in umfpack_symbolic()
63 inline int umfpack_symbolic(int n_row,int n_col, in umfpack_symbolic() argument
67 return umfpack_zi_symbolic(n_row,n_col,Ap,Ai,&numext::real_ref(Ax[0]),0,Symbolic,Control,Info); in umfpack_symbolic()
98 inline int umfpack_get_lunz(int *lnz, int *unz, int *n_row, int *n_col, int *nz_udiag, void *Numeri… in umfpack_get_lunz() argument
100 return umfpack_di_get_lunz(lnz,unz,n_row,n_col,nz_udiag,Numeric); in umfpack_get_lunz()
103 inline int umfpack_get_lunz(int *lnz, int *unz, int *n_row, int *n_col, int *nz_udiag, void *Numeri… in umfpack_get_lunz() argument
105 return umfpack_zi_get_lunz(lnz,unz,n_row,n_col,nz_udiag,Numeric); in umfpack_get_lunz()