Vector4-Impl.h File Reference
#include <Core/Math/MathUtils.h>
#include <cassert>

Go to the source code of this file.

Namespaces

 CubbyFlow
 

Functions

template<typename T >
Vector< T, 4 > CubbyFlow::operator+ (const Vector< T, 4 > &a)
 Positive sign operator. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator- (const Vector< T, 4 > &a)
 Negative sign operator. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator+ (const Vector< T, 4 > &a, T b)
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator+ (T a, const Vector< T, 4 > &b)
 Computes (a, a, a, a) + (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator+ (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Computes (a.x, a.y, a.z, a.w) + (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator- (const Vector< T, 4 > &a, T b)
 Computes (a.x, a.y, a.z, a.w) - (b, b, b, b). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator- (T a, const Vector< T, 4 > &b)
 Computes (a, a, a, a) - (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator- (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Computes (a.x, a.y, a.z, a.w) - (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator* (const Vector< T, 4 > &a, T b)
 Computes (a.x, a.y, a.z, a.w) * (b, b, b, b). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator* (T a, const Vector< T, 4 > &b)
 Computes (a, a, a, a) * (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator* (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Computes (a.x, a.y, a.z, a.w) * (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator/ (const Vector< T, 4 > &a, T b)
 Computes (a.x, a.y, a.z, a.w) / (b, b, b, b). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator/ (T a, const Vector< T, 4 > &b)
 Computes (a, a, a, a) / (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::operator/ (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Computes (a.x, a.y, a.z, a.w) / (b.x, b.y, b.z, b.w). More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::Min (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Returns element-wise min vector. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::Max (const Vector< T, 4 > &a, const Vector< T, 4 > &b)
 Returns element-wise max vector. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::Clamp (const Vector< T, 4 > &v, const Vector< T, 4 > &low, const Vector< T, 4 > &high)
 Returns element-wise clamped vector. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::Ceil (const Vector< T, 4 > &a)
 Returns element-wise ceiled vector. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::Floor (const Vector< T, 4 > &a)
 Returns element-wise floored vector. More...
 
template<typename T >
Vector< T, 4 > CubbyFlow::MonotonicCatmullRom (const Vector< T, 4 > &v0, const Vector< T, 4 > &v1, const Vector< T, 4 > &v2, const Vector< T, 4 > &v3, T f)
 Computes monotonic Catmull-Rom interpolation. More...