NEURON
vecop.c File Reference
#include <../../nrnconf.h>
#include <stdio.h>
#include "matrix.h"

Go to the source code of this file.

Macros

#define MAX_STACK   60
 

Functions

double _in_prod (VEC *a, VEC *b, u_int i0)
 
VECsv_mlt (double scalar, VEC *vector, VEC *out)
 
VECv_add (VEC *vec1, VEC *vec2, VEC *out)
 
VECv_mltadd (VEC *v1, VEC *v2, double scale, VEC *out)
 
VECv_sub (VEC *vec1, VEC *vec2, VEC *out)
 
VECv_map (double(*f)(), VEC *x, VEC *out)
 
VEC_v_map (double(*f)(), void *params, VEC *x, VEC *out)
 
VECv_lincomb (int n, v, a, *out)
 
VECv_linlist (VEC *out, VEC *v1, double a1,...)
 
VECv_star (VEC *x1, VEC *x2, VEC *out)
 
VECv_slash (VEC *x1, VEC *x2, VEC *out)
 
double v_min (VEC *x, int *min_idx)
 
double v_max (VEC *x, int *max_idx)
 
VECv_sort (VEC *x, PERM *order)
 
double v_sum (VEC *x)
 
VECv_conv (VEC *x1, VEC *x2, VEC *out)
 
VECv_pconv (VEC *x1, VEC *x2, VEC *out)
 

Variables

static char rcsid [] = "vecop.c,v 1.1 1997/12/04 17:56:02 hines Exp"
 

Macro Definition Documentation

◆ MAX_STACK

#define MAX_STACK   60

Definition at line 458 of file vecop.c.

Function Documentation

◆ _in_prod()

double _in_prod ( VEC a,
VEC b,
u_int  i0 
)

Definition at line 37 of file vecop.c.

◆ _v_map()

VEC* _v_map ( double (*)()  f,
void params,
VEC x,
VEC out 
)

Definition at line 206 of file vecop.c.

◆ sv_mlt()

VEC* sv_mlt ( double  scalar,
VEC vector,
VEC out 
)

Definition at line 63 of file vecop.c.

◆ v_add()

VEC* v_add ( VEC vec1,
VEC vec2,
VEC out 
)

Definition at line 91 of file vecop.c.

◆ v_conv()

VEC* v_conv ( VEC x1,
VEC x2,
VEC out 
)

Definition at line 562 of file vecop.c.

◆ v_lincomb()

VEC* v_lincomb ( int  n,
v  ,
,
out 
)

Definition at line 231 of file vecop.c.

◆ v_linlist()

VEC* v_linlist ( VEC out,
VEC v1,
double  a1,
  ... 
)

Definition at line 269 of file vecop.c.

◆ v_map()

VEC* v_map ( double (*)()  f,
VEC x,
VEC out 
)

Definition at line 183 of file vecop.c.

◆ v_max()

double v_max ( VEC x,
int max_idx 
)

Definition at line 430 of file vecop.c.

◆ v_min()

double v_min ( VEC x,
int min_idx 
)

Definition at line 400 of file vecop.c.

◆ v_mltadd()

VEC* v_mltadd ( VEC v1,
VEC v2,
double  scale,
VEC out 
)

Definition at line 117 of file vecop.c.

◆ v_pconv()

VEC* v_pconv ( VEC x1,
VEC x2,
VEC out 
)

Definition at line 584 of file vecop.c.

◆ v_slash()

VEC* v_slash ( VEC x1,
VEC x2,
VEC out 
)

Definition at line 375 of file vecop.c.

◆ v_sort()

VEC* v_sort ( VEC x,
PERM order 
)

Definition at line 466 of file vecop.c.

◆ v_star()

VEC* v_star ( VEC x1,
VEC x2,
VEC out 
)

Definition at line 354 of file vecop.c.

◆ v_sub()

VEC* v_sub ( VEC vec1,
VEC vec2,
VEC out 
)

Definition at line 156 of file vecop.c.

◆ v_sum()

double v_sum ( VEC x)

Definition at line 545 of file vecop.c.

Variable Documentation

◆ rcsid

char rcsid[] = "vecop.c,v 1.1 1997/12/04 17:56:02 hines Exp"
static

Definition at line 33 of file vecop.c.