#include <rootscan.h>
Public Types | |
typedef NT::vect | vect |
typedef vector< NumVector< dims,nelem,NT> > | parpoint |
typedef list<parpoint> | parpointlist |
typedef map<number,parpointlist> | datalist |
Public Methods | |
typedef bool | criteria (const parpoint &) |
void | clear () |
parpointlist | get_solution (number param) |
void | add_point (const vect &v) |
void | add_param (const number ¶m) |
ScanList | select (criteria ifthis) const |
void | print_raw (ostream &out) |
ScanList | operator+= (const ScanList< dims, nelem > &extra) |
void | print_list (ostream &out, const number &accuracy=1.) |
datalist& | get_data (void) |
Private Attributes | |
datalist | dat |
parpoint | p |
Definition at line 43 of file rootscan.h.
|
a parpoint is a list of vectors, any number of them. In practice, the first is the solutions, the second the real part of the eigenvalues and the third the imaginary part Definition at line 53 of file rootscan.h. |
|
a parpointlist is for example all the parpoints which belong to one specific parameter value. Hence it will be associated thru a map to a value Definition at line 59 of file rootscan.h. |
|
Finalize: add the parpoint to the parpointlist for a certain parameter, and clear it Definition at line 85 of file rootscan.h. Referenced by operator+=().
|
|
Add a point to the newest parpoint Definition at line 78 of file rootscan.h. Referenced by operator+=().
|
|
Clear out everything
Definition at line 68 of file rootscan.h. |
|
a function which returns true when the point is "good" |
|
Find the closest solutions Definition at line 71 of file rootscan.h. |
|
Add two lists together. Good to generate plots for a certain parameter, varying another Definition at line 140 of file rootscan.h. |
|
writes out a sorted list (gnuplot style - not clean, I know, and much too long to be included, but it works
Definition at line 174 of file rootscan.h. |
|
write out a sorted list (due to the map), but raw for the rest. If you want continuous linked regions, look at print_list Definition at line 115 of file rootscan.h. |
|
select a part of the list, the rest is discarded. Returns the new list. Note: no use is made of remove_if from the STL, which would be the better way to go. Time... Definition at line 94 of file rootscan.h. |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.