bdm::rectangular_support Class Reference
#include <discrete.h>
Public Member Functions | |
| rectangular_support () | |
| default constructor | |
| void | set_parameters (const Array< vec > &ranges0, const ivec &gridsize0) |
| set parameters | |
| void | initialize () |
| Internal functio to set temporaries correctly. | |
| vec | get_vec (const ivec &inds) |
| return vector at position given by vector of indices | |
| long | linear_index (const ivec inds) |
convert dimension indices into linear index, the indexing is in the same way as in next_vec() | |
| const vec & | first_vec () |
| set the first vector to corner and store result in actvec | |
| const vec & | next_vec () |
| Get next active vector, call ONLY after first_vector()! | |
| const vec & | act_vec () |
| return active vector, call ONLY after first_vector()! | |
| ivec | nearest_point (const vec &val) |
| int | points () const |
| Access function. | |
| const vec & | _steps () const |
| void | from_setting (const Setting &set) |
Protected Attributes | |
| Array< vec > | ranges |
| Array of boundaries (2D vectors: [begining,end]) for each dimension. | |
| ivec | gridsizes |
| Number of support points in each dimension. | |
| vec | actvec_ind |
| indices of active vector | |
| vec | steps |
Detailed Description
Rectangular support Support points are located inbetween ranges! For example: For ranges=[0,1] and gridsizes=[1] the support point is 0.5
Member Function Documentation
| const vec& bdm::rectangular_support::_steps | ( | ) | const [inline] |
access function
- Todo:
- opet pouze do potomka..
| ivec bdm::rectangular_support::nearest_point | ( | const vec & | val | ) |
The documentation for this class was generated from the following files:
- discrete.h
- discrete.cpp
Generated on 2 Dec 2013 for mixpp by
1.4.7
