# bdm::discrete_support Class Reference

Discrete support with stored support points. More...

`#include <discrete.h>`

List of all members.

## 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

## Detailed Description

Discrete support with stored support points.

## Member Function Documentation

void bdm::discrete_support::from_setting | ( | const Setting & | set | ) | `[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.

The documentation for this class was generated from the following files:

- discrete.h
- discrete.cpp