• Home
  • Raw
  • Download

Lines Matching refs:n_row

206 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()
322 static bool colamd(IndexType n_row, IndexType n_col, IndexType Alen, IndexType *A, IndexType *p, do… in colamd() argument
369 if (n_row < 0) /* n_row must be >= 0 */ in colamd()
372 stats [COLAMD_INFO1] = n_row ; in colamd()
373 COLAMD_DEBUG0 (("colamd: nrow negative %d\n", n_row)) ; in colamd()
413 Row_size = colamd_r (n_row) ; in colamd()
432 if (!Eigen::internal::init_rows_cols (n_row, n_col, Row, Col, A, p, stats)) in colamd()
441 Eigen::internal::init_scoring (n_row, n_col, Row, Col, A, p, knobs, in colamd()
446 ngarbage = Eigen::internal::find_ordering (n_row, n_col, Alen, Row, Col, A, p, in colamd()
455 stats [COLAMD_DENSE_ROW] = n_row - n_row2 ; in colamd()
486 IndexType n_row, /* number of rows of A */ in init_rows_cols() argument
534 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
552 if (row < 0 || row >= n_row) in init_rows_cols()
557 stats [COLAMD_INFO3] = n_row ; in init_rows_cols()
598 for (row = 1 ; row < n_row ; row++) in init_rows_cols()
641 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
672 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
702 IndexType n_row, /* number of rows of A */ in init_scoring() argument
736 …nt = numext::maxi(IndexType(0), numext::mini(IndexType(knobs [COLAMD_DENSE_COL] * n_row), n_row)) ; in init_scoring()
740 n_row2 = n_row ; in init_scoring()
787 for (r = 0 ; r < n_row ; r++) in init_scoring()
803 COLAMD_DEBUG1 (("colamd: Dense and null rows killed: %d\n", n_row - n_row2)) ; in init_scoring()
939 IndexType n_row, /* number of rows of A */ in find_ordering() argument
989 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1039 pfree = Eigen::internal::garbage_collection (n_row, n_col, Row, Col, A, &A [pfree]) ; in find_ordering()
1044 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1254 COLAMD_ASSERT(row >= 0 && row < n_row) ; in find_ordering()
1344 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1702 IndexType n_row, /* number of rows */ in garbage_collection() argument
1746 for (r = 0 ; r < n_row ; r++) in garbage_collection()
1780 COLAMD_ASSERT (r >= 0 && r < n_row) ; in garbage_collection()
1823 IndexType n_row, /* number of rows in A */ in clear_mark() argument
1831 for (r = 0 ; r < n_row ; r++) in clear_mark()