Back to index

wims  3.65+svn20090927
Defines | Functions | Variables
drawode_func.c File Reference
#include "drawode.h"

Go to the source code of this file.

Defines

#define NFUNC   3

Functions

static double dx_1 (double x, double y)
static double dy_1 (double x, double y)
static double dx_2 (double x, double y)
static double dy_2 (double x, double y)
static double dx_3 (double x, double y)
static double dy_3 (double x, double y)

Variables

const int nfunc = NFUNC
func_t funcs [NFUNC][2] = {{dx_1, dy_1}, {dx_2, dy_2}, {dx_3, dy_3}}

Define Documentation

#define NFUNC   3

Definition at line 5 of file drawode_func.c.


Function Documentation

static double dx_1 ( double  x,
double  y 
) [static]

Definition at line 10 of file drawode_func.c.

{
  return y;
}
static double dx_2 ( double  x,
double  y 
) [static]

Definition at line 21 of file drawode_func.c.

{
  return values[0]*x+values[1]*y;
}
static double dx_3 ( double  x,
double  y 
) [static]

Definition at line 32 of file drawode_func.c.

{
  return values[0]*x+values[1]*y;
}
static double dy_1 ( double  x,
double  y 
) [static]

Definition at line 15 of file drawode_func.c.

{
  return x*(x+y)+values[0]*x+values[1]*y;
}
static double dy_2 ( double  x,
double  y 
) [static]

Definition at line 26 of file drawode_func.c.

{
  return values[1]*x+values[0]*y;
}
static double dy_3 ( double  x,
double  y 
) [static]

Definition at line 37 of file drawode_func.c.

{
  return values[2]*x+values[3]*y;
}

Variable Documentation

func_t funcs[NFUNC][2] = {{dx_1, dy_1}, {dx_2, dy_2}, {dx_3, dy_3}}

Definition at line 44 of file drawode_func.c.

const int nfunc = NFUNC

Definition at line 7 of file drawode_func.c.