Defines | Functions | Variables
libsvmread.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "mex.h"
Include dependency graph for libsvmread.c:

Go to the source code of this file.

Defines

#define max(x, y)   (((x)>(y))?(x):(y))
#define min(x, y)   (((x)<(y))?(x):(y))

Functions

void exit_with_help ()
static void fake_answer (mxArray *plhs[])
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
void read_problem (const char *filename, mxArray *plhs[])
static char * readline (FILE *input)

Variables

static char * line
static int max_line_len

Define Documentation

#define max (   x,
 
)    (((x)>(y))?(x):(y))

Definition at line 15 of file libsvmread.c.

#define min (   x,
 
)    (((x)<(y))?(x):(y))

Definition at line 18 of file libsvmread.c.


Function Documentation

void exit_with_help ( )

Definition at line 21 of file libsvmread.c.

static void fake_answer ( mxArray *  plhs[]) [static]

Definition at line 28 of file libsvmread.c.

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

Definition at line 188 of file libsvmread.c.

void read_problem ( const char *  filename,
mxArray *  plhs[] 
)

Definition at line 56 of file libsvmread.c.

static char* readline ( FILE *  input) [static]

Definition at line 37 of file libsvmread.c.


Variable Documentation

char* line [static]

Definition at line 34 of file libsvmread.c.

int max_line_len [static]

Definition at line 35 of file libsvmread.c.



ml_classifiers
Author(s): Scott Niekum
autogenerated on Mon Oct 6 2014 02:20:58