NEURON
functabl.cpp File Reference
#include <../../nrnconf.h>
#include "hoc.h"

Go to the source code of this file.

Classes

struct  TableArg
 
struct  FuncTable
 

Macros

#define INTERPOLATE   1
 

Typedefs

typedef struct TableArg TableArg
 
typedef struct FuncTable FuncTable
 

Functions

static int arg_index (TableArg *ta, double x)
 
static double inter (double frac, double *tab, int j)
 
static double interp (double frac, double x1, double x2)
 
double hoc_func_table (void *vpft, int n, double *args)
 
void hoc_spec_table (void **vppt, int n)
 

Macro Definition Documentation

◆ INTERPOLATE

#define INTERPOLATE   1

Definition at line 4 of file functabl.cpp.

Typedef Documentation

◆ FuncTable

typedef struct FuncTable FuncTable

◆ TableArg

typedef struct TableArg TableArg

Function Documentation

◆ arg_index()

static int arg_index ( TableArg ta,
double  x 
)
static

Definition at line 22 of file functabl.cpp.

◆ inter()

static double inter ( double  frac,
double *  tab,
int  j 
)
static

Definition at line 78 of file functabl.cpp.

◆ interp()

static double interp ( double  frac,
double  x1,
double  x2 
)
static

Definition at line 87 of file functabl.cpp.