3-dimensional vector.
More...
#include </home/werner/origo/vish/ocean/eagle/PhysicalSpace.hpp>
List of all members.
Public Types
Public Member Functions
-
vector inv () const
- Compute the inverse vector .
-
vector & normalize ()
-
vector operator() (const vector &v) const
- Compute nvn, which is the reflection of the vector v along the current vector n.
- bivector operator* () const
- Compute the dual of this vector.
-
vector operator+ (const vector &r) const
- Add two vectors.
-
vector operator- () const
- Unary minus.
-
vector & operator= (const vector &v)
-
vector unit () const
-
vector (const FixedArray< double, 3 > &V)
- Constructor from base class.
- vector ()
- Evil default constructor.
-
vector (const vector &v)
- Copy constructor.
-
vector (double x, double y, double z)
- Component-wise construction.
-
vector (const point &l, const point &r)
- Construct vector as subtraction of two points.
-
template<OperatorID_t CompType> vector (const vector &l, const vector &r, const Operator< CompType > &C)
- Generic computational constructor for two vectors.
-
template<OperatorID_t CompType> vector (const vector &l, const double &scalar, const Operator< CompType > &C)
- Generic computational constructor for vector-scalar operations.
-
template<OperatorID_t CompType> vector (const double &scalar, const vector &l, const Operator< CompType > &C)
- Generic computational constructor for scalar-vector operations.
-
vector (const vector &l, const Operator<'-'> &C)
- Computational constructor for unitary minus.
-
const double & x () const
-
double & x ()
-
const double & y () const
-
double & y ()
-
const double & z () const
-
double & z ()
|
Friends
Detailed Description
Constructor & Destructor Documentation
Eagle::PhysicalSpace::vector::vector |
( |
| ) |
[inline] |
Evil default constructor.
Not sure if it should do anything or nothing. Primary purpose is for use within arrays. Currently does nothing, because it should be fast, and the user shouldnt expect uninitialized variables to contain anything useful.
Reimplemented from Eagle::Coordinates::vector.
Member Function Documentation
bivector Eagle::PhysicalSpace::vector::operator* |
( |
| ) |
const [inline] |
Compute the dual of this vector.
Compute dual of a vector, which is the plane orthogonal to the given vector.
The documentation for this class was generated from the following files:
- ocean/eagle/PhysicalSpace.hpp
- ocean/eagle/rotor3.hpp