Macros | 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.

Macros

#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
 

Macro Definition Documentation

◆ max

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

Definition at line 15 of file libsvmread.c.

◆ min

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

Definition at line 18 of file libsvmread.c.

Function Documentation

◆ exit_with_help()

void exit_with_help ( )

Definition at line 21 of file libsvmread.c.

◆ fake_answer()

static void fake_answer ( mxArray *  plhs[])
static

Definition at line 28 of file libsvmread.c.

◆ mexFunction()

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

Definition at line 188 of file libsvmread.c.

◆ read_problem()

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

Definition at line 56 of file libsvmread.c.

◆ readline()

static char* readline ( FILE *  input)
static

Definition at line 37 of file libsvmread.c.

Variable Documentation

◆ line

char* line
static

Definition at line 34 of file libsvmread.c.

◆ max_line_len

int max_line_len
static

Definition at line 35 of file libsvmread.c.



ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Mon Feb 28 2022 22:46:49