Project Class Reference

Class to project a point onto a box. More...

#include <uservector.h>

List of all members.

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.

Detailed Description

Class to project a point onto a box.

Definition at line 1746 of file uservector.h.


Member Function Documentation

static dvector Project::project ( const dvector x,
const dvector lower,
const dvector upper 
) [inline, static]

Projects a point to a box.

Parameters:
x The point to project.
lower The lower bound of the box.
upper The upper bound of the box.
Returns:
The projected point.
See also:
project(dvector&, const dvector&, const dvector&, const dvector&)

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.

Parameters:
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.
See also:
project(const dvector&, const dvector&, const dvector&)

Definition at line 1768 of file uservector.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1