Discrete support with stored support points. More...
Discrete support with stored support points.
#include <discrete.h>
Public Member Functions | |
discrete_support () | |
Default constructor. | |
int | points () const |
Access function. | |
const vec & | first_vec () |
set the first vector to corner and store result in actvec | |
const vec & | next_vec () |
set next vector after calling first_vec() | |
void | from_setting (const Setting &set) |
Array< vec > & | _Spoints () |
access function | |
virtual string | to_string () |
This method returns a basic info about the current instance. | |
virtual void | to_setting (Setting &set) const |
This method save all the instance properties into the Setting structure. | |
virtual void | validate () |
This method TODO. | |
Protected Attributes | |
Array< vec > | Spoints |
storage of support points | |
int | idx |
index in iterators |
void bdm::discrete_support::from_setting | ( | const Setting & | set | ) | [inline, virtual] |
class = "discrete_support"; points = ( [1,2..], [2,2..], ...); // list of points === OR === epdf = {class="epdf_offspring",...}; // epdf rfom which to sample npoints = 100; // number of samples
Reimplemented from bdm::root.
References bdm::UI::get(), points(), and Spoints.