Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

vec Namespace Reference


Detailed Description

Namespace for generic routines operating on vectors; this helps avoid overloading ambiguities.


Typedefs

typedef double AxisCoord
 Type for coordinate on an axis.

typedef std::vector< AxisCoordAxisVector
 Type of a list of axis coordinates.

typedef AxisVector::size_type AxisSubscript
 Type of the index used by an AxisVector.


Functions

string temporaryname (const string prefix)
 Cleaner wrapper for ugly C tempnam() function.

string call_gnuplot (const string &title, const string &matrixfilename, const string &outputfilename, const string &gpscript_command, bool parametric)
 Actually calls gnuplot on a given file and saves or displays the output.

template<class VectorA, class VectorX> string gnuplot (const VectorA &A, const string &title, const string &outputfilename, const string &gpscript, const VectorX &X)
 General routine for plotting vectors using gnuplot.

template<class Vector> string gnuplot (const Vector &A, const string &title="", const string &outputfilename="", const string &gpscript="", AxisCoord xo=0, AxisCoord xm=1)
 Shortcut version for plotting a vector using gnuplot; generates linearly spaced labels.


Generated on Mon Jan 20 02:37:46 2003 for RF-LISSOM by doxygen1.3-rc2