MathLib
Loading...
Searching...
No Matches
Collaboration diagram for 2D Vector Algebra:

Operators

template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator+ (const BasicVector2D &left, const BasicVector2D< U > &right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator+ (const BasicVector2D &left, BasicRef< U > right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator- (const BasicVector2D &left, const BasicVector2D< U > &right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator- (const BasicVector2D &left, BasicRef< U > right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* (const BasicVector2D &left, const BasicVector2D< U > &right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* (const BasicVector2D &left, BasicRef< U > right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* (const BasicVector2D &left, const U &scalar)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* (const U &scalar, const BasicVector2D< U > &right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator/ (const BasicVector2D &left, const BasicVector2D< U > &right)
 
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator/ (const BasicVector2D &left, BasicRef< U > right)
 
constexpr BasicVector2D< Type > operator/ (const BasicVector2D &left, const Type &scalar)
 

Detailed Description

Two Dimensional Vector Algebra

Friends

◆ operator* [1/4]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* ( const BasicVector2D< Type > &  left,
BasicRef< U >  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 621 of file Vector2D.hpp.

◆ operator* [2/4]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* ( const BasicVector2D< Type > &  left,
const BasicVector2D< U > &  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 614 of file Vector2D.hpp.

◆ operator* [3/4]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* ( const BasicVector2D< Type > &  left,
const U &  scalar 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 628 of file Vector2D.hpp.

◆ operator* [4/4]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator* ( const U &  scalar,
const BasicVector2D< U > &  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 635 of file Vector2D.hpp.

◆ operator+ [1/2]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator+ ( const BasicVector2D< Type > &  left,
BasicRef< U >  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 593 of file Vector2D.hpp.

◆ operator+ [2/2]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator+ ( const BasicVector2D< Type > &  left,
const BasicVector2D< U > &  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 586 of file Vector2D.hpp.

◆ operator- [1/2]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator- ( const BasicVector2D< Type > &  left,
BasicRef< U >  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 607 of file Vector2D.hpp.

◆ operator- [2/2]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator- ( const BasicVector2D< Type > &  left,
const BasicVector2D< U > &  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 600 of file Vector2D.hpp.

◆ operator/ [1/3]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator/ ( const BasicVector2D< Type > &  left,
BasicRef< U >  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 649 of file Vector2D.hpp.

◆ operator/ [2/3]

template<class Type >
template<class U >
requires Concept::SameUnqualified<Type, U>
constexpr BasicVector2D< Type > operator/ ( const BasicVector2D< Type > &  left,
const BasicVector2D< U > &  right 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 642 of file Vector2D.hpp.

◆ operator/ [3/3]

template<class Type >
constexpr BasicVector2D< Type > operator/ ( const BasicVector2D< Type > &  left,
const Type &  scalar 
)
friend

#include <lib/include/Math/math/Vector2D.hpp>

Definition at line 654 of file Vector2D.hpp.