#include <grid.h>
Public Member Functions | |
Grid () | |
unsigned int | size () const |
void | matlab_output (std::ostream &os) const |
Base class for n-dimensional rectangular grids in the style of Matlab. There, rectangular grids are the core ingredients for plotting functions from n-D to m-D. A 1-dimensional grid is just a vector x holding the mesh points. A 2-dimensional grid (a so-called quad-mesh) consists of 2 matrices x and y, holding the x- and y-coordinates of the mesh points.
reference: Matlab/Octave help for the command 'surf'
MathTL::Grid< DIM >::Grid | ( | ) | [inline] |
default constructor: empty grid
void MathTL::Grid< DIM >::matlab_output | ( | std::ostream & | os | ) | const |
Matlab output of the grid onto a stream
Reimplemented in MathTL::SampledMapping< DIM, C >.
unsigned int MathTL::Grid< DIM >::size | ( | ) | const |
number of grid points