#include <fstream>
#include "MultiIndex.hpp"
#include "sg_mpi.hpp"
Include dependency graph for MultiArray.hpp:

This graph shows which files directly or indirectly include this file:

Classes | |
| class | MultiArray< T > |
| The multidimensional variabled size array class. More... | |
Functions | |
| template<typename T> | |
| std::ostream & | operator<< (std::ostream &, MultiArray< T > &) |
| The C++-style output operator. | |
| template<typename T> | |
| std::istream & | operator>> (std::istream &, MultiArray< T > &) |
| The C++-style input operator. | |
| template<typename T> | |
| std::ostream & | operator<< (std::ostream &out, const MultiArray< T > &a) |
Dynamically allocated multidimentional array of arbitrary dimensionality. This is the basic type for grid functions.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const MultiArray< T > & | a | |||
| ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | , | |
| MultiArray< T > & | ||||
| ) | [inline] |
The C++-style output operator.
Print the MultiArray in the ASCII-form suitable for MatLab, i.e. the first line lists the sizes of the MultiArray for all the dimensions, and the second line lists all the elements.
| std::istream & operator>> | ( | std::istream & | , | |
| MultiArray< T > & | ||||
| ) | [inline] |
The C++-style input operator.
Reads values of the array from a stream in the format of operator << . On errors like memory lack the function throws an exception.
1.5.2