NEURON
zmemory.c File Reference
#include <../../nrnconf.h>
#include <stdio.h>
#include "zmatrix.h"
#include <stdarg.h>

Go to the source code of this file.

Functions

ZVECzv_zero (ZVEC *x)
 
ZMATzm_zero (ZMAT *A)
 
ZMATzm_get (int m, int n)
 
ZVECzv_get (int size)
 
int zm_free (ZMAT *mat)
 
int zv_free (ZVEC *vec)
 
ZMATzm_resize (ZMAT *A, int new_m, int new_n)
 
ZVECzv_resize (ZVEC *x, int new_dim)
 
int zv_get_vars (int dim,...)
 
int zm_get_vars (int m, int n,...)
 
int zv_resize_vars (int new_dim,...)
 
int zm_resize_vars (int m, int n,...)
 
int zv_free_vars (ZVEC **pv,...)
 
int zm_free_vars (ZMAT **va,...)
 

Variables

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

Function Documentation

◆ zm_free()

int zm_free ( ZMAT mat)

Definition at line 149 of file zmemory.c.

◆ zm_free_vars()

int zm_free_vars ( ZMAT **  va,
  ... 
)

Definition at line 536 of file zmemory.c.

◆ zm_get()

ZMAT* zm_get ( int  m,
int  n 
)

Definition at line 65 of file zmemory.c.

◆ zm_get_vars()

int zm_get_vars ( int  m,
int  n,
  ... 
)

Definition at line 436 of file zmemory.c.

◆ zm_resize()

ZMAT* zm_resize ( ZMAT A,
int  new_m,
int  new_n 
)

Definition at line 227 of file zmemory.c.

◆ zm_resize_vars()

int zm_resize_vars ( int  m,
int  n,
  ... 
)

Definition at line 486 of file zmemory.c.

◆ zm_zero()

ZMAT* zm_zero ( ZMAT A)

Definition at line 51 of file zmemory.c.

◆ zv_free()

int zv_free ( ZVEC vec)

Definition at line 195 of file zmemory.c.

◆ zv_free_vars()

int zv_free_vars ( ZVEC **  pv,
  ... 
)

Definition at line 515 of file zmemory.c.

◆ zv_get()

ZVEC* zv_get ( int  size)

Definition at line 122 of file zmemory.c.

◆ zv_get_vars()

int zv_get_vars ( int  dim,
  ... 
)

Definition at line 418 of file zmemory.c.

◆ zv_resize()

ZVEC* zv_resize ( ZVEC x,
int  new_dim 
)

Definition at line 362 of file zmemory.c.

◆ zv_resize_vars()

int zv_resize_vars ( int  new_dim,
  ... 
)

Definition at line 468 of file zmemory.c.

◆ zv_zero()

ZVEC* zv_zero ( ZVEC x)

Definition at line 39 of file zmemory.c.

Variable Documentation

◆ rcsid

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

Definition at line 33 of file zmemory.c.