|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
A type that is constructed from a pair of - preferedly vectorial - types and forwards arithmetic operations to them, finally appearing as one homogeneous type. More...
#include <VVector.hpp>
Public Member Functions | |
| VectorPair () | |
| Default constructor. | |
| VectorPair (const VectorPair &V) | |
| Copy constructor. | |
| VectorPair (const VectorPair &A, const value &V, const Mult &) | |
| Scalar multiplication. | |
| VectorPair (const VectorPair &A, const value &V, const Div &) | |
| Division by scalar. | |
| VectorPair (const VectorPair &L, const VectorPair &R, const Add &) | |
| Addition. | |
| VectorPair (const VectorPair &L, const VectorPair &R, const Sub &) | |
| Subtraction. | |
| VectorPair (const VectorPair &L, const Sub &) | |
| Unary minus. | |
| VectorPair & | operator+= (const VectorPair &A) |
| Vector += Vector. | |
| VectorPair & | operator-= (const VectorPair &A) |
| Vector -= Vector. | |
| VectorPair & | operator*= (const value &v) |
| Vector *= scalar. | |
| VectorPair & | operator/= (const value &v) |
| Vector /= scalar. | |
Friends | |
| value | InnerProduct (const VectorPair &A, const VectorPair &B) |
Multiply and sum component-wise, ![]() | |
A type that is constructed from a pair of - preferedly vectorial - types and forwards arithmetic operations to them, finally appearing as one homogeneous type.
It supports computational constructors and self-assigment operators.