#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "mex.h"
Go to the source code of this file.
|
#define | max(x, y) (((x)>(y))?(x):(y)) |
|
#define | min(x, y) (((x)<(y))?(x):(y)) |
|
◆ max
#define max |
( |
|
x, |
|
|
|
y |
|
) |
| (((x)>(y))?(x):(y)) |
◆ min
#define min |
( |
|
x, |
|
|
|
y |
|
) |
| (((x)<(y))?(x):(y)) |
◆ exit_with_help()
◆ fake_answer()
static void fake_answer |
( |
mxArray * |
plhs[] | ) |
|
|
static |
◆ mexFunction()
void mexFunction |
( |
int |
nlhs, |
|
|
mxArray * |
plhs[], |
|
|
int |
nrhs, |
|
|
const mxArray * |
prhs[] |
|
) |
| |
◆ read_problem()
void read_problem |
( |
const char * |
filename, |
|
|
mxArray * |
plhs[] |
|
) |
| |
◆ readline()
static char* readline |
( |
FILE * |
input | ) |
|
|
static |
◆ line
◆ max_line_len