Macros | Functions
ccolamdtestmex.c File Reference
#include "ccolamd.h"
#include "mex.h"
#include "matrix.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for ccolamdtestmex.c:

Go to the source code of this file.

Macros

#define CCOLAMD_MIN_MEMORY(nnz, n_row, n_col)
 
#define Long   SuiteSparse_long
 
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
 
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

static void dump_matrix (Long A[], Long p[], Long n_row, Long n_col, Long Alen, Long limit)
 
void mexFunction (int nargout, mxArray *pargout[], int nargin, const mxArray *pargin[])
 

Macro Definition Documentation

#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)
#define MAX(a, b)

Definition at line 51 of file ccolamdtestmex.c.

#define Long   SuiteSparse_long

Definition at line 44 of file ccolamdtestmex.c.

#define MAX (   a,
  b 
)    (((a) > (b)) ? (a) : (b))

Definition at line 50 of file ccolamdtestmex.c.

#define MIN (   a,
  b 
)    (((a) < (b)) ? (a) : (b))

Definition at line 49 of file ccolamdtestmex.c.

Function Documentation

static void dump_matrix ( Long  A[],
Long  p[],
Long  n_row,
Long  n_col,
Long  Alen,
Long  limit 
)
static

Definition at line 61 of file ccolamdtestmex.c.

void mexFunction ( int  nargout,
mxArray *  pargout[],
int  nargin,
const mxArray *  pargin[] 
)

Definition at line 92 of file ccolamdtestmex.c.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:28