Home | History | Annotate | Download | only in OrderingMethods

Lines Matching refs:knobs

63 /* size of the knobs [ ] array.  Only knobs [0..1] are currently used. */
69 /* knobs [0] and stats [0]: dense row knob and output statistic. */
72 /* knobs [1] and stats [1]: dense column knob and output statistic. */
221 static void init_scoring (Index n_row, Index n_col, Colamd_Row<Index> Row [], colamd_col<Index> Col [], Index A [], Index head [], double knobs[COLAMD_KNOBS], Index *p_n_row2, Index *p_n_col2, Index *p_max_deg);
275 * Colamd: rows with more than (knobs [COLAMD_DENSE_ROW] * n_col)
277 * (knobs [COLAMD_DENSE_COL] * n_row) entries are removed prior to
281 * respectively, in colamd.h. Default values of these two knobs
282 * are both 0.5. Currently, only knobs [0] and knobs [1] are
283 * used, but future versions may use more knobs. If so, they will
288 * knobs array to colamd or symamd.
290 * \param knobs parameter settings for colamd
293 static inline void colamd_set_defaults(double knobs[COLAMD_KNOBS])
299 if (!knobs)
301 return ; /* no knobs to initialize */
305 knobs [i] = 0 ;
307 knobs [COLAMD_DENSE_ROW] = 0.5 ; /* ignore rows over 50% dense */
308 knobs [COLAMD_DENSE_COL] = 0.5 ; /* ignore columns over 50% dense */
325 * \param knobs parameter settings for colamd
329 static bool colamd(Index n_row, Index n_col, Index Alen, Index *A, Index *p, double knobs[COLAMD_KNOBS], Index stats[COLAMD_STATS])
344 double default_knobs [COLAMD_KNOBS] ; /* default knobs array */
409 /* === If no knobs, set default knobs =================================== */
411 if (!knobs)
414 knobs = default_knobs ;
448 Eigen::internal::init_scoring (n_row, n_col, Row, Col, A, p, knobs,
715 double knobs [COLAMD_KNOBS],/* parameters */
740 /* === Extract knobs ==================================================== */
742 dense_row_count = COLAMD_MAX (0, COLAMD_MIN (knobs [COLAMD_DENSE_ROW] * n_col, n_col)) ;
743 dense_col_count = COLAMD_MAX (0, COLAMD_MIN (knobs [COLAMD_DENSE_COL] * n_row, n_row)) ;