#include <CotangentBundlePoint.h>
|
| | CotangentBundlePoint () |
| | It creates a new empty cotangent bundle point.
|
| |
| | CotangentBundlePoint (int n) |
| | It creates a new empty 2n-dimensional cotangent bundle point.
|
| |
| | CotangentBundlePoint (Position q, Momentum p) |
| | It creates a cotangent bundle point whit the values of the vectors supplied.
|
| |
| int | getDim () |
| | It supplies the dimension of the cotangent bundle point.
|
| |
| void | setDim (int n) |
| | It modifies the dimension of the cotangent bundle point.
|
| |
| Position | getQ () |
| | It retrieves the position of the cotangent bundle point.
|
| |
| Momentum | getP () |
| | It retrieves the momentum of the cotangent bundle point.
|
| |
| void | setQ (Position q) |
| | It modifies the position of the cotangent bundle point.
|
| |
| void | setP (Momentum p) |
| | It modifies the momentum of the cotangent bundle point.
|
| |
| double | distance (Position r) |
| | It calculates the distance from itself to the position r.
|
| |
| | ~CotangentBundlePoint () |
| | It destroys the cotangent bundle point object.
|
| |
| CotangentBundlePoint::CotangentBundlePoint |
( |
| ) |
|
It creates a new empty cotangent bundle point.
| CotangentBundlePoint::CotangentBundlePoint |
( |
int |
n | ) |
|
It creates a new empty 2n-dimensional cotangent bundle point.
It creates a cotangent bundle point whit the values of the vectors supplied.
- Parameters
-
| CotangentBundlePoint::~CotangentBundlePoint |
( |
| ) |
|
It destroys the cotangent bundle point object.
| double CotangentBundlePoint::distance |
( |
Position |
r | ) |
|
It calculates the distance from itself to the position r.
- Parameters
-
| int CotangentBundlePoint::getDim |
( |
| ) |
|
It supplies the dimension of the cotangent bundle point.
- Returns
- the dimension of the cotangent bundle point
It retrieves the momentum of the cotangent bundle point.
- Returns
- the momentum of the cotangent bundle point
It retrieves the position of the cotangent bundle point.
- Returns
- the position of the cotangent bundle point
| void CotangentBundlePoint::setDim |
( |
int |
n | ) |
|
It modifies the dimension of the cotangent bundle point.
- Returns
- n the dimension of the cotangent bundle point
| void CotangentBundlePoint::setP |
( |
Momentum |
p | ) |
|
It modifies the momentum of the cotangent bundle point.
- Parameters
-
| p | the new momentum of the cotangent bundle point |
| void CotangentBundlePoint::setQ |
( |
Position |
q | ) |
|
It modifies the position of the cotangent bundle point.
- Parameters
-
| q | the new position of the cotangent bundle point |
The documentation for this class was generated from the following files: