Functions

K:/Projects/scplusplus/gpl_releases/nttw/include/array.h File Reference

Array Header/Object for the NTTW C Library. More...

#include <stdlib.h>
#include "global.h"
Include dependency graph for array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NTTW_DLL_SYM void array (void **pointer, const size_t nbytes)
 Forms an array of size.
NTTW_DLL_SYM nttw_integerarray_1D (const size_t size)
 Forms an 1D array of size.
NTTW_DLL_SYM long * arraySigned_1D (const size_t size)
 Forms an 1D signed array of size.
NTTW_DLL_SYM unsigned char * arrayUChar_1D (const size_t size)
 Forms an 1D unsigned character array of size.
NTTW_DLL_SYM nttw_big_integerarray_1D_big (const size_t size)
 Forms an 1D array of size.
NTTW_DLL_SYM void init_1D (nttw_integer *data, const size_t size, const nttw_integer value)
NTTW_DLL_SYM void initSigned_1D (long *data, const size_t size, const long value)
NTTW_DLL_SYM void initUChar_1D (unsigned char *data, const size_t size, const unsigned char value)
NTTW_DLL_SYM void init_1D_big (nttw_big_integer *data, const size_t size, const nttw_big_integer value)
NTTW_DLL_SYM void free_array (void *pointer)

Detailed Description

Array Header/Object for the NTTW C Library.

NTTW Array Module

This file defines the functions that wrap all the malloc and free functions for producing arrays for 1D/2D with aligned memory. Functions for initializing arrays are also provided.

This file is part of NTTW Library.

NTTW is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

NTTW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with NTTW. If not, see <http://www.gnu.org/licenses/>.

Author:
Shekhar S. Chandra, 2008-9

Definition in file array.h.