ML Reference
mlVector4.h File Reference
#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointVector.h"
#include "mlVector2.h"
#include "mlVector3.h"
#include "mlMatrix3.h"
#include "mlMatrix4.h"
#include <mlErrorOutput.h>

Go to the source code of this file.

Classes

class  ml::Tvec4< DT >
 Forward declarations to resolve header file dependencies. More...
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Macros

#define _ML_VEC4_RC(i)   a[i][0]*v[0] + a[i][1]*v[1] + a[i][2]*v[2] + a[i][3]*v[3]
 Internal helper macro for tMat4 with Tvec4 multiplications. Do not use.
 

Typedefs

Specializations for float, double and long double.
typedef Tvec4< MLfloatml::Vector4f
 A vector with 4 components of type float.
 
typedef Tvec4< MLdoubleml::Vector4d
 A vector with 4 components of type double.
 
typedef Tvec4< MLldoubleml::Vector4ld
 A vector with 4 components of type long double.
 
typedef Tvec4< MLdoubleml::Vector4
 A vector with 4 components of type double.
 

Functions

template<class DT >
Tvec4< DT > ml::operator* (const Tmat4< DT > &a, const Tvec4< DT > &v)
 Multiplies 4x4 matrix a with vector v.
 
template<class DT >
Tvec4< DT > ml::operator* (const Tvec4< DT > &v, const Tmat4< DT > &a)
 Multiplies vector v with 4x4 matrix a.
 

Macro Definition Documentation

◆ _ML_VEC4_RC

#define _ML_VEC4_RC ( i)    a[i][0]*v[0] + a[i][1]*v[1] + a[i][2]*v[2] + a[i][3]*v[3]

Internal helper macro for tMat4 with Tvec4 multiplications. Do not use.

Definition at line 130 of file mlVector4.h.

Referenced by ml::operator*().