array_2d_alloc Class Template Reference

A simple class to provide an allocate() function for 2-dimensional arrays. More...

#include <array.h>


Detailed Description

template<class mat_t>
class array_2d_alloc< mat_t >

The functions here are blank, as fixed-length arrays are automatically allocated and destroyed by the compiler. This class is present to provide an analog to pointer_2d_alloc and omatrix_alloc . This class is used in gsl_mroot_hybrids_ts.cpp .

Definition at line 119 of file array.h.


Public Member Functions

void allocate (mat_t &v, size_t i, size_t j)
 Allocate v for i elements.
void free (mat_t &v, size_t i)
 Free memory.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page