This file contains classes and functions for operating with C-style 1- or 2-dimensional arrays and pointers to double. For more generic operations on generic vector objects (including in some cases C-style arrays), see also the file vector.h . This file contains the allocation classes
For an example of the usage of the array allocation classes, see the Multidimensional solver example .
Definition in file array.h.
#include <iostream>
#include <cmath>
#include <string>
#include <fstream>
#include <sstream>
#include <o2scl/err_hnd.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_sort.h>
Go to the source code of this file.
Data Structures | |
class | array_alloc |
A simple class to provide an allocate() function for arrays. More... | |
class | array_2d_alloc |
A simple class to provide an allocate() function for 2-dimensional arrays. More... | |
class | pointer_alloc |
A simple class to provide an allocate() function for pointers. More... | |
class | pointer_2d_alloc |
A simple class to provide an allocate() function for pointers. More... | |
class | array_reverse |
A simple class which reverses the order of an array. More... | |
class | array_const_reverse |
A simple class which reverses the order of an array. More... | |
class | array_subvector |
A simple subvector class for an array (without error checking). More... | |
class | array_2d_column |
Column of a 2d array. More... | |
class | array_2d_row |
Row of a 2d array. More... | |
class | array_const_subvector |
A simple subvector class for a const array (without error checking). More... | |
class | array_subvector_reverse |
Reverse a subvector of an array. More... | |
class | array_const_subvector_reverse |
Reverse a subvector of a const array. More... | |
class | array_row |
Extract a row of a C-style 2d-array. More... | |
Functions | |
template<class type> | |
type ** | new_2d_array (size_t nr, size_t nc) |
Create a new C-style 2-dimensional array. | |
template<class type> | |
int | delete_2d_array (type **t, size_t nr) |
Create a new C-style 2-dimensional array. |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page