Lines Matching refs:nnz
196 the COLAMD_RECOMMENDED (nnz, n_row, n_col) macro. It returns -1 if any
197 argument is negative. 2*nnz space is required for the row and column
201 and nnz/5 more space is recommended for run time efficiency.
258 * \param nnz nonzeros in A
264 inline Index colamd_recommended ( Index nnz, Index n_row, Index n_col)
266 if ((nnz) < 0 || (n_row) < 0 || (n_col) < 0)
269 return (2 * (nnz) + colamd_c (n_col) + colamd_r (n_row) + (n_col) + ((nnz) / 5));
334 Index nnz ; /* nonzeros in A */
392 nnz = p [n_col] ;
393 if (nnz < 0) /* nnz must be >= 0 */
396 stats [COLAMD_INFO1] = nnz ;
397 COLAMD_DEBUG0 (("colamd: number of entries negative %d\n", nnz)) ;
421 need = 2*nnz + n_col + Col_size + Row_size ;
454 n_col2, max_deg, 2*nnz) ;
948 Index Alen, /* size of A, 2*nnz + n_col or larger */
955 Index pfree /* index of first free slot (2*nnz on entry) */