Lines Matching refs:n_row
213 inline Index colamd_r(Index n_row) in colamd_r() argument
214 { return Index(((n_row) + 1) * sizeof (Colamd_Row<Index>) / sizeof (Index)); } in colamd_r()
218 static Index init_rows_cols (Index n_row, Index n_col, Colamd_Row<Index> Row [], colamd_col<Index> …
221 static void init_scoring (Index n_row, Index n_col, Colamd_Row<Index> Row [], colamd_col<Index> Col…
224 static Index find_ordering (Index n_row, Index n_col, Index Alen, Colamd_Row<Index> Row [], colamd_…
233 static Index garbage_collection (Index n_row, Index n_col, Colamd_Row<Index> Row [], colamd_col<Ind…
236 static inline Index clear_mark (Index n_row, Colamd_Row<Index> Row [] ) ;
264 inline Index colamd_recommended ( Index nnz, Index n_row, Index n_col) in colamd_recommended() argument
266 if ((nnz) < 0 || (n_row) < 0 || (n_col) < 0) in colamd_recommended()
269 return (2 * (nnz) + colamd_c (n_col) + colamd_r (n_row) + (n_col) + ((nnz) / 5)); in colamd_recommended()
329 static bool colamd(Index n_row, Index n_col, Index Alen, Index *A, Index *p, double knobs[COLAMD_KN… in colamd() argument
376 if (n_row < 0) /* n_row must be >= 0 */ in colamd()
379 stats [COLAMD_INFO1] = n_row ; in colamd()
380 COLAMD_DEBUG0 (("colamd: nrow negative %d\n", n_row)) ; in colamd()
420 Row_size = colamd_r (n_row) ; in colamd()
439 if (!Eigen::internal::init_rows_cols (n_row, n_col, Row, Col, A, p, stats)) in colamd()
448 Eigen::internal::init_scoring (n_row, n_col, Row, Col, A, p, knobs, in colamd()
453 ngarbage = Eigen::internal::find_ordering (n_row, n_col, Alen, Row, Col, A, p, in colamd()
462 stats [COLAMD_DENSE_ROW] = n_row - n_row2 ; in colamd()
493 Index n_row, /* number of rows of A */ in init_rows_cols() argument
541 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
559 if (row < 0 || row >= n_row) in init_rows_cols()
564 stats [COLAMD_INFO3] = n_row ; in init_rows_cols()
605 for (row = 1 ; row < n_row ; row++) in init_rows_cols()
648 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
679 for (row = 0 ; row < n_row ; row++) in init_rows_cols()
709 Index n_row, /* number of rows of A */ in init_scoring() argument
743 dense_col_count = COLAMD_MAX (0, COLAMD_MIN (knobs [COLAMD_DENSE_COL] * n_row, n_row)) ; in init_scoring()
747 n_row2 = n_row ; in init_scoring()
794 for (r = 0 ; r < n_row ; r++) in init_scoring()
810 COLAMD_DEBUG1 (("colamd: Dense and null rows killed: %d\n", n_row - n_row2)) ; in init_scoring()
946 Index n_row, /* number of rows of A */ in find_ordering() argument
996 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1046 pfree = Eigen::internal::garbage_collection (n_row, n_col, Row, Col, A, &A [pfree]) ; in find_ordering()
1051 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1261 COLAMD_ASSERT(row >= 0 && row < n_row) ; in find_ordering()
1351 tag_mark = Eigen::internal::clear_mark (n_row, Row) ; in find_ordering()
1709 Index n_row, /* number of rows */ in garbage_collection() argument
1753 for (r = 0 ; r < n_row ; r++) in garbage_collection()
1787 COLAMD_ASSERT (r >= 0 && r < n_row) ; in garbage_collection()
1830 Index n_row, /* number of rows in A */ in clear_mark() argument
1838 for (r = 0 ; r < n_row ; r++) in clear_mark()