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

Go to the source code of this file.

Macros

#define MODULUS   1000000000L /* assuming long's at least 32 bits long */
 
#define MZ   0L
 

Functions

VECv_zero (VEC *x)
 
IVECiv_zero (IVEC *ix)
 
MATm_zero (MAT *A)
 
MATm_ident (MAT *A)
 
PERMpx_ident (PERM *px)
 
double mrand (void)
 
void mrandlist (a, int len)
 
void smrand (int seed)
 
VECv_rand (VEC *x)
 
MATm_rand (MAT *A)
 
VECv_ones (VEC *x)
 
MATm_ones (MAT *A)
 
VECv_count (VEC *x)
 

Variables

static char rcsid [] = "init.c,v 1.1 1997/12/04 17:55:25 hines Exp"
 
static long mrand_list [56]
 
static int started = FALSE
 
static int inext = 0
 
static int inextp = 31
 

Macro Definition Documentation

◆ MODULUS

#define MODULUS   1000000000L /* assuming long's at least 32 bits long */

Definition at line 137 of file init.c.

◆ MZ

#define MZ   0L

Definition at line 139 of file init.c.

Function Documentation

◆ iv_zero()

IVEC* iv_zero ( IVEC ix)

Definition at line 55 of file init.c.

◆ m_ident()

MAT* m_ident ( MAT A)

Definition at line 91 of file init.c.

◆ m_ones()

MAT* m_ones ( MAT A)

Definition at line 271 of file init.c.

◆ m_rand()

MAT* m_rand ( MAT A)

Definition at line 238 of file init.c.

◆ m_zero()

MAT* m_zero ( MAT A)

Definition at line 71 of file init.c.

◆ mrand()

double mrand ( void  )

Definition at line 148 of file init.c.

◆ mrandlist()

void mrandlist ( ,
int  len 
)

Definition at line 171 of file init.c.

◆ px_ident()

PERM* px_ident ( PERM px)

Definition at line 108 of file init.c.

◆ smrand()

void smrand ( int  seed)

Definition at line 198 of file init.c.

◆ v_count()

VEC* v_count ( VEC x)

Definition at line 287 of file init.c.

◆ v_ones()

VEC* v_ones ( VEC x)

Definition at line 256 of file init.c.

◆ v_rand()

VEC* v_rand ( VEC x)

Definition at line 220 of file init.c.

◆ v_zero()

VEC* v_zero ( VEC x)

Definition at line 40 of file init.c.

Variable Documentation

◆ inext

int inext = 0
static

Definition at line 143 of file init.c.

◆ inextp

int inextp = 31
static

Definition at line 143 of file init.c.

◆ mrand_list

long mrand_list[56]
static

Definition at line 141 of file init.c.

◆ rcsid

char rcsid[] = "init.c,v 1.1 1997/12/04 17:55:25 hines Exp"
static

Definition at line 34 of file init.c.

◆ started

int started = FALSE
static

Definition at line 142 of file init.c.