Canoe
Comprehensive Atmosphere N' Ocean Engine
band_multiply.c File Reference

Go to the source code of this file.

Macros

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

Functions

void band_multiply (int n, int m1, int m2, double *a, double *x, double *b)
 

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 2 of file band_multiply.c.

◆ IMAX

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

Definition at line 10 of file band_multiply.c.

◆ A

#define A (   i,
 
)    a[(m1 + m2 + 1) * (i) + (j)]

Definition at line 26 of file band_multiply.c.

Function Documentation

◆ band_multiply()

void band_multiply ( int  n,
int  m1,
int  m2,
double *  a,
double *  x,
double *  b 
)

Definition at line 28 of file band_multiply.c.