Class to project a point onto a box. More...
#include <uservector.h>
Static Public Member Functions | |
static dvector | project (const dvector &x, const dvector &lower, const dvector &upper) |
Projects a point to a box. | |
static void | project (dvector &xp, const dvector &x, const dvector &lower, const dvector &upper) |
Projects a point to a box. |
Class to project a point onto a box.
Definition at line 1746 of file uservector.h.
static dvector Project::project | ( | const dvector & | x, | |
const dvector & | lower, | |||
const dvector & | upper | |||
) | [inline, static] |
Projects a point to a box.
x | The point to project. | |
lower | The lower bound of the box. | |
upper | The upper bound of the box. |
Definition at line 1755 of file uservector.h.
static void Project::project | ( | dvector & | xp, | |
const dvector & | x, | |||
const dvector & | lower, | |||
const dvector & | upper | |||
) | [inline, static] |
Projects a point to a box.
xp | The dvector to store the projected point in. | |
x | The point to project. | |
lower | The lower bound of the box. | |
upper | The upper bound of the box. |
Definition at line 1768 of file uservector.h.