![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Various array classes. More...
#include <iostream>
#include <cmath>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
#include <o2scl/err_hnd.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_sort.h>
Go to the source code of this file.
For a more general discussion of vectors and matrices in O2scl , see the Arrays, Vectors, Matrices and Tensors of the User's Guide.
This file contains classes and functions for operating with C-style 1- or 2-dimensional arrays and pointers to double. For an example of the usage of the array allocation classes, see the Multi-dimensional solver . 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
the classes for the manipulation of arrays in smart_interp
the array equivalent of omatrix_row and omatrix_col (see usage in src/ode/ode_it_solve_ts.cpp
)
can be used with pointers or arrays, but array_alloc and pointer_alloc are not interchangable.
operator(,)
Definition in file array.h.
Data Structures | |
class | array_alloc< vec_t > |
A simple class to provide an allocate() function for arrays. More... | |
class | array_2d_alloc< mat_t > |
A simple class to provide an allocate() function for 2-dimensional arrays. More... | |
class | pointer_alloc< base_t > |
A simple class to provide an allocate() function for pointers. More... | |
class | pointer_2d_alloc< base_t > |
A simple class to provide an allocate() function for pointers. More... | |
struct | pointer_2d_alloc< base_t >::pointer_comp |
class | array_reverse< sz > |
A simple class which reverses the order of an array. More... | |
class | array_const_reverse< sz > |
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_col< R, C, data_t > |
Column of a 2d array. More... | |
class | array_2d_row< array_2d_t, data_t > |
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... |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).