Dyn_alloc.h


new_array
Template new_array allocates a new array of type T, length size
new_Vector
Template new_Vector allocates a new Vector of type T, length dim, and initializes all entries to zero
new_Vector_Init
Template new_Vector_Init allocates a new Vector of type T, length dim, and initializes all entries to the corresponding values in Holder
new_Matrix
Template new_Matrix allocates a new Matrix of type T, of dimensions dim1 by dim2, and initializes all entries to zero
new_Matrix_Init
Template new_Matrix_Init allocates a new Matrix of type T
Dyn_alloc.h

Contains templates for dynamic allocation of Vectors, Matrices, and arrays. For use with DirectSearch and its derived classes. Note that the methods defined in this header file use the try/catch syntax of the new ANSI C++ standard. If you are using an old compiler that does not support this syntax, change #include "Dyn_alloc.h" to #include "Dyn_alloc_old.h" and compile with Dyn_alloc_old.h.

Anne Shepherd, College of William and Mary

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de