#include <math.h>
#include "MVTools.h"
Include dependency graph for Vector_n.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | Vector_n |
Represents a n-dimensional vector of type T. More... | |
Defines | |
#define | VECTOR_N_STACK |
Functions | |
template<class T, size_t N> Vector_n< T, N > | operator+ (const Vector_n< T, N > &v1, const Vector_n< T, N > &v2) |
Operator +. | |
template<class T, size_t N> Vector_n< T, N > | operator- (const Vector_n< T, N > &v1, const Vector_n< T, N > &v2) |
Operator -. | |
template<class T, size_t N> Vector_n< T, N > | operator * (const T &s, const Vector_n< T, N > &v) |
Operator *. | |
template<class T, size_t N> Vector_n< T, N > | operator * (const Vector_n< T, N > &v, const T &s) |
Operator *. | |
template<class T, size_t N> T | operator * (const Vector_n< T, N > &v1, const Vector_n< T, N > &v2) |
Operator *. | |
template<class T, size_t N> Vector_n< T, N > | operator/ (const Vector_n< T, N > &v, const T &s) |
Operator /. | |
template<class T, size_t N> T | length (const Vector_n< T, N > &v) |
Get length of vector. |
Definition in file Vector_n.h.
|
Definition at line 11 of file Vector_n.h. |
|
Operator +.
Definition at line 270 of file Vector_n.h. |
|
Operator -.
Definition at line 287 of file Vector_n.h. |
|
Operator *.
Definition at line 304 of file Vector_n.h. |
|
Operator *.
Definition at line 321 of file Vector_n.h. |
|
Operator *.
Definition at line 338 of file Vector_n.h. References MVTools::isNearInf(), and MVTools::isNearPosInf(). |
Here is the call graph for this function:
|
Operator /.
Definition at line 364 of file Vector_n.h. |
|
Get length of vector.
Definition at line 380 of file Vector_n.h. |