Class to round the discrete variables of a point to integer values. More...
#include <uservector.h>
Static Public Member Functions | |
| static dvector | round (const dvector &x, vector< int > &indices, const dvector &lower, const dvector &upper) |
| Rounds the values of a point, which are determined by indices, to integer values. | |
| static void | round (dvector &xr, const dvector &x, vector< int > &indices, const dvector &lower, const dvector &upper) |
| Rounds the values of a point, which are determined by indices, to integer values. | |
Class to round the discrete variables of a point to integer values.
Definition at line 1779 of file uservector.h.
| static dvector Round::round | ( | const dvector & | x, | |
| vector< int > & | indices, | |||
| const dvector & | lower, | |||
| const dvector & | upper | |||
| ) | [inline, static] |
Rounds the values of a point, which are determined by indices, to integer values.
| x | The point to round. | |
| indices | The indices of the elements, which should be rounded. | |
| lower | The lower bound of the box. | |
| upper | The upper bound of the box. |
Definition at line 1788 of file uservector.h.
| static void Round::round | ( | dvector & | xr, | |
| const dvector & | x, | |||
| vector< int > & | indices, | |||
| const dvector & | lower, | |||
| const dvector & | upper | |||
| ) | [inline, static] |
Rounds the values of a point, which are determined by indices, to integer values.
| xr | The dvector to store the rounded point in. | |
| x | The point to round. | |
| indices | The indices of the elements, which should be rounded. | |
| lower | The lower bound of the box. | |
| upper | The upper bound of the box. |
Definition at line 1801 of file uservector.h.
1.6.1