Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Namespaces | Functions
Saf/Math/Algebra/Vector.h File Reference

Linear algebra vector class.
More...

#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 >
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.

Detailed Description

Linear algebra vector class.
Author:
Ondrej Danek ondre.nosp@m.j.da.nosp@m.nek@g.nosp@m.mail.nosp@m..com
Date:
2010