ppc_array


ppc_array, a C code which provides both typed and generic interfaces to allocate and free memory for vectors and matrices, from Rouben Rostamian's "Programming Projects in C";

Simple functions are provided for creating and freeing vectors and matrices of type double, float, and int.

Generic functions are provided, which create and free vectors and matrices of any type.

Getting the C preprocessor text to execute correctly was a miserable job!

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

ppc_array is available in a C version.

Related Data and Programs:

ppc_array_test

ppc_xmalloc, a library which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";

Reference:

  1. Rouben Rostamian,
    Programming Projects in C for Students of Engineering, Science, and Mathematics,
    SIAM, 2014,
    ISBN: 978-1-611973-49-5

Source Code:


Last revised on 05 September 2023.