#include <cmath>
#include <iomanip>
#include <iostream>
#include <array>
Go to the source code of this file.
|
| template<class T > |
| Vector3< T > | ModuleBase::operator+ (const Vector3< T > &u, const Vector3< T > &v) |
| | Overload "+" for two Vector3.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator- (const Vector3< T > &u, const Vector3< T > &v) |
| | Overload "-" for two Vector3.
|
| |
| template<class T > |
| T | ModuleBase::operator* (const Vector3< T > &u, const Vector3< T > &v) |
| | Overload "*" to calculate the dot product of two Vector3.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator* (const T &s, const Vector3< T > &u) |
| | Overload "*" to calculate (Vector3)*scalar.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator* (const Vector3< T > &u, const T &s) |
| | Overload "*" to calculate scalar*(Vector3)
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator/ (const Vector3< T > &u, const T &s) |
| | Overload "/" to calculate Vector3/scalar.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator/ (const T &s, const Vector3< T > &u) |
| | Overload "/" to calculate scalar/Vector3.
|
| |
| template<class T > |
| T | ModuleBase::dot (const Vector3< T > &u, const Vector3< T > &v) |
| | Dot productor of two Vector3.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::operator^ (const Vector3< T > &u, const Vector3< T > &v) |
| | Overload "^" for cross product of two Vector3.
|
| |
| template<class T > |
| Vector3< T > | ModuleBase::cross (const Vector3< T > &u, const Vector3< T > &v) |
| | Cross product of two Vector3.
|
| |
| template<class T > |
| bool | ModuleBase::operator< (const Vector3< T > &u, const Vector3< T > &v) |
| |
| template<class T > |
| bool | ModuleBase::operator!= (const Vector3< T > &u, const Vector3< T > &v) |
| |
| template<class T > |
| bool | ModuleBase::operator== (const Vector3< T > &u, const Vector3< T > &v) |
| |