icrout_cholesky_mex.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>

Include dependency graph for icrout_cholesky_mex.c:

Go to the source code of this file.


struct  Matrix


#define SYMSTR   1
#define MIN(a, b)   ((a)<=(b) ? (a) : (b))
#define MAX(a, b)   ((a)>=(b) ? (a) : (b))
#define ABS(a)   ((a)>=0 ? (a) : -(a))
#define SHORTCUT(p, a, ja, ia)
#define MATNULL(p)


void quicksort (int *const pbase, double *const daux, size_t total_elems)
void Matrix_alloc (Matrix *a, int n, int nnz)
void Matrix_dealloc (Matrix *a)
void qsplit (double *a, int *ind, int n, int ncut)
void update_column (int k, const int *ia, const int *ja, const double *a, const int *ifirst, const int *ifirst2, const int *list2, const double *multipliers, const double *d, int *marker, double *ta, int *itcol, int *ptalen)
void update_lists (int k, const int *ia, const int *ja, int *ifirst, int *list)
void update_lists_newcol (int k, int isk, int iptr, int *ifirst, int *list)
void crout_ict (int n, const Matrix *AL, const double *Adiag, double droptol, int lfil, Matrix *L, double **pdiag)

Define Documentation

#define SYMSTR   1

Definition at line 28 of file icrout_cholesky_mex.c.

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

Definition at line 50 of file icrout_cholesky_mex.c.

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

Definition at line 51 of file icrout_cholesky_mex.c.

#define ABS  )     ((a)>=0 ? (a) : -(a))

Definition at line 52 of file icrout_cholesky_mex.c.

#define SHORTCUT p,
ia   ) 


(a)  = (p)->val; \
        (ja) = (p)->col; \
        (ia) = (p)->ptr;

Definition at line 65 of file icrout_cholesky_mex.c.

#define MATNULL  ) 


(p).val = NULL; \
        (p).col = NULL; \
        (p).ptr = NULL;

Definition at line 70 of file icrout_cholesky_mex.c.

Function Documentation

void quicksort int *const   pbase,
double *const   daux,
size_t  total_elems

Definition at line 139 of file icrout_quicksort.c.

void Matrix_alloc Matrix a,
int  n,
int  nnz

Definition at line 75 of file icrout_cholesky_mex.c.

void Matrix_dealloc Matrix a  ) 

Definition at line 82 of file icrout_cholesky_mex.c.

void qsplit double *  a,
int *  ind,
int  n,
int  ncut

Definition at line 92 of file icrout_cholesky_mex.c.

void update_column int  k,
const int *  ia,
const int *  ja,
const double *  a,
const int *  ifirst,
const int *  ifirst2,
const int *  list2,
const double *  multipliers,
const double *  d,
int *  marker,
double *  ta,
int *  itcol,
int *  ptalen

Definition at line 147 of file icrout_cholesky_mex.c.

void update_lists int  k,
const int *  ia,
const int *  ja,
int *  ifirst,
int *  list

Definition at line 217 of file icrout_cholesky_mex.c.

void update_lists_newcol int  k,
int  isk,
int  iptr,
int *  ifirst,
int *  list

Definition at line 252 of file icrout_cholesky_mex.c.

void crout_ict int  n,
const Matrix AL,
const double *  Adiag,
double  droptol,
int  lfil,
Matrix L,
double **  pdiag

Definition at line 286 of file icrout_cholesky_mex.c.

Generated on Thu Sep 18 12:37:23 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen