Simple Application Framework
1
|
Linear algebra vector class.
#include <math.h>
#include "../../Type.h"
#include "../../Collection/StaticArray.h"
#include "../Basic.h"
#include "../Constant.h"
#include "../Range.h"
#include "../Calculus/Powers.h"
#include "Number.h"
Go to the source code of this file.
Classes | |
class | Saf::Math::Algebra::Vector< N, T > |
Class representing vector object from linear algebra. More... | |
Namespaces | |
namespace | Saf |
Global library namespace. | |
namespace | Saf::Math |
Mathematical functions and structures. | |
namespace | Saf::Math::Algebra |
Implementations of various objects from algebra. | |
Functions | |
template<class T > | |
T | Saf::Math::Algebra::ClockwiseAngle (const Vector< 2, T > &v1, const Vector< 2, T > &v2) |
Calculates the clockwise angle between two 2D vectors. | |
template<class T > | |
Vector< 3, T > | Saf::Math::Algebra::CrossProduct (const Vector< 3, T > &v1, const Vector< 3, T > &v2) |
Cross product of two 3D vectors. | |
template<Size N, class T > | |
Vector< N, T > | Saf::Math::Algebra::operator* (const T &val, const Vector< N, T > &v) |
Vector by scalar multiplication operator. | |
template<Size N, class T > | |
Vector< N, T > | Saf::Math::Algebra::operator/ (const T &val, const Vector< N, T > &v) |
Inverse vector by scalar division operator. |
Linear algebra vector class.