Canoe
Comprehensive Atmosphere N' Ocean Engine
band_improve.c File Reference
#include <stdlib.h>
#include "linalg.h"

Go to the source code of this file.

Macros

#define IMIN(i, j)
 
#define IMAX(i, j)
 
#define AORIG(i, j)   aorig[(m1 + m2 + 1) * (i) + (j)]
 

Functions

void band_improve (int n, int m1, int m2, double *aorig, double *a, double *al, int *index, double *b, double *x)
 

Macro Definition Documentation

◆ IMIN

#define IMIN (   i,
 
)
Value:
({ \
const int _i = (int)(i); \
const int _j = (int)(j); \
_i < _j ? _i : _j; \
})

Definition at line 6 of file band_improve.c.

◆ IMAX

#define IMAX (   i,
 
)
Value:
({ \
const int _i = (int)(i); \
const int _j = (int)(j); \
_i > _j ? _i : _j; \
})

Definition at line 14 of file band_improve.c.

◆ AORIG

#define AORIG (   i,
 
)    aorig[(m1 + m2 + 1) * (i) + (j)]

Definition at line 34 of file band_improve.c.

Function Documentation

◆ band_improve()

void band_improve ( int  n,
int  m1,
int  m2,
double *  aorig,
double *  a,
double *  al,
int *  index,
double *  b,
double *  x 
)

Definition at line 36 of file band_improve.c.