ergo
Allocator.h File Reference

Code for Allocator class used for memory allocation/deallocation in matrix library. More...

#include <stdexcept>

Go to the source code of this file.

Classes

class  mat::Allocator< Treal >
 

Namespaces

 mat
 

Detailed Description

Code for Allocator class used for memory allocation/deallocation in matrix library.

The idea of the Allocator class is that it manages a list of buffers of identical size, keeping track of where the next available free buffer is. This functionality can be used for allocating submatrices in the matrix library, since almost all submatrices have identical size.

Author
Elias Rudberg