Array Source/Object for the NTTW C Library. More...
#include "array.h"
Go to the source code of this file.
Functions | |
void | array (void **pointer, const size_t nbytes) |
Forms an array of size. | |
nttw_integer * | array_1D (const size_t size) |
Forms an 1D array of size. | |
long * | arraySigned_1D (const size_t size) |
Forms an 1D signed array of size. | |
unsigned char * | arrayUChar_1D (const size_t size) |
Forms an 1D unsigned character array of size. | |
nttw_big_integer * | array_1D_big (const size_t size) |
Forms an 1D array of size. | |
void | init_1D (nttw_integer *data, const size_t size, const nttw_integer value) |
void | initSigned_1D (long *data, const size_t size, const long value) |
void | initUChar_1D (unsigned char *data, const size_t size, const unsigned char value) |
void | init_1D_big (nttw_big_integer *data, const size_t size, const nttw_big_integer value) |
void | free_array (void *pointer) |
Array Source/Object for the NTTW C Library.
NTTW Array Module
This file implements 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/>.
Definition in file array.c.