#include "ccolamd.h"
#include "mex.h"
#include "matrix.h"
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
◆ CCOLAMD_MIN_MEMORY
      
        
          | #define CCOLAMD_MIN_MEMORY | ( |  | nnz, | 
        
          |  |  |  | n_row, | 
        
          |  |  |  | n_col | 
        
          |  | ) |  |  | 
      
 
Value:        (
MAX (2 * nnz, 4 * n_col) + \
            8*n_col + 6*n_row + n_col + (nnz / 5) \
            + ((3 * n_col) + 1)  + 5 * (n_col + 1) + n_row)
Definition at line 51 of file ccolamdtestmex.c.
 
 
◆ Long
◆ MAX
      
        
          | #define MAX | ( |  | a, | 
        
          |  |  |  | b | 
        
          |  | ) |  | (((a) > (b)) ? (a) : (b)) | 
      
 
 
◆ MIN
      
        
          | #define MIN | ( |  | a, | 
        
          |  |  |  | b | 
        
          |  | ) |  | (((a) < (b)) ? (a) : (b)) | 
      
 
 
◆ dump_matrix()
◆ mexFunction()
      
        
          | void mexFunction | ( | int | nargout, | 
        
          |  |  | mxArray * | pargout[], | 
        
          |  |  | int | nargin, | 
        
          |  |  | const mxArray * | pargin[] | 
        
          |  | ) |  |  |