Main Page | Data Structures | Directories | File List | Globals

mqint_array.h File Reference

a file that includes the definitions of 32-bit integer arrays More...

Go to the source code of this file.

Defines

#define SWAP(a, b)   {integer_temp=(a);(a)=(b);(b)=integer_temp;}

Functions

int * MQIntArray_create (int size)
void MQIntArray_init (int *array, int size, int value)
int * MQIntArray_createInit (int size, int first,...)
int * MQIntArray_createOnes (int size)
int * MQIntArray_createZeros (int size)
int * MQIntArray_createIncr (int size, int start)
int * MQIntArray_copyUsingIndexArray (int *array, int *index_array, int npeaks)
int * MQIntArray_copy (int *array, int nsize)
int * MQIntArray_copyPart (int *array, int start, int stop)
void MQIntArray_sum (int *array_1, int *array_2, int nstart, int nstop)
char * MQIntArray_toString (int *array, int nsize)
void MQIntArray_print (int *array, int start, int stop, int format)
void MQIntArray_fprint (FILE *fp, int *array, int start, int stop, int format)
void MQIntArray_fprintf (FILE *fp, int *array, int start, int stop, int npl, char *format)
void MQIntArray_fprintDelimited (FILE *fp, int *array, int start, int stop, char delimiter)
void * MQIntArray_getElement (const void *array, unsigned int index)

Variables

int integer_temp


Detailed Description

a file that includes the definitions of 32-bit integer arrays

Author:
Kyriacos C. Leptos
Date:
2004-05-04
Details.

Function Documentation

int* MQIntArray_create int  size  ) 
 

Allocating memory for integer array

Warning:
array starts with index 1
Parameters:
nsize size of the array
Returns:
a pointer to the allocated array

int* MQIntArray_createInit int  size,
int  first,
  ...
 

Allocates and initializes with the value given an integer array

Parameters:
size 
first variable size arguments that initialize the array

void MQIntArray_init int *  array,
int  size,
int  value
 

Initializing array

Parameters:
array the pointer to the integer array to be initialized
nsize size the integer array
value the value with which the array is initilized


Generated on Tue Feb 7 03:25:44 2006 for libmqbasic by  doxygen 1.4.4