#include <string>
#include <iostream>
#include <simthetic/misc.h>
#include <simthetic/exceptions.h>
#include <simthetic/checkedvector.h>
#include <simthetic/array.h>
#include <simthetic/phbib.h>
Go to the source code of this file.
Namespaces | |
namespace | simth |
Functions | |
template<class T> | |
void | twoDim2oneDim (const Array2d< T > &arr, Array< T > *vec, bool fortranlike=false) |
template<class T> | |
void | oneDim2twoDim (const Array< T > &vec, size_t xSize, size_t ySize, Array2d< T > *arr, bool fortranlike=false) |
template<class T> | |
std::ostream & | operator<< (std::ostream &os, const Array2d< T > &a) |
Especially, one can use the simth::checkedVector classes to implement sequences. These classes act like an std::vector but offer an additional range check depending whether the macro DEBUG is defined or not. In order to enhance the runtime speed this check mechanism can de disabled by setting the macro DEBUG (defined in misc.h) to false.