23 lines
382 B
C
23 lines
382 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
/* #define ENABLE_LOG */
|
||
|
|
||
|
#ifdef ENABLE_LOG
|
||
|
# define LOG(x) x
|
||
|
#else
|
||
|
# define LOG(x) (void) 0
|
||
|
#endif
|
||
|
|
||
|
typedef struct borders {
|
||
|
double north;
|
||
|
double east;
|
||
|
double south;
|
||
|
double west;
|
||
|
} borders;
|
||
|
|
||
|
double **create_matrix(int rows, int cols);
|
||
|
|
||
|
void print_matrix(double **x, int rows, int cols);
|
||
|
void destroy_matrix(double **x, int rows);
|