ML Reference
|
Template class for a 4D vector for floating point types, derived from FloatingPointVector. More...
#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointVector.h"
#include "mlVector2.h"
#include "mlVector3.h"
#include "mlMatrix3.h"
#include "mlMatrix4.h"
Go to the source code of this file.
Classes | |
class | ml::Tvec4< DT > |
A four dimensional vector class for floating point types. More... | |
Namespaces | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
Defines | |
#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< MLfloat > | ml::Vector4f |
A vector with 4 components of type float. | |
typedef Tvec4< MLdouble > | ml::Vector4d |
A vector with 4 components of type double. | |
typedef Tvec4< MLldouble > | ml::Vector4ld |
A vector with 4 components of type long double. | |
typedef Tvec4< MLdouble > | ml::Vector4 |
A vector with 4 components of type double. | |
Deprecated | |
typedef Tvec4< MLfloat > | ml::vecf4 |
typedef Tvec4< MLdouble > | ml::vecd4 |
typedef Tvec4< MLldouble > | ml::vecld4 |
typedef Tvec4< MLdouble > | ml::vec4 |
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. |
Template class for a 4D vector for floating point types, derived from FloatingPointVector.
Definition in file mlVector4.h.
#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 154 of file mlVector4.h.
Referenced by ml::operator*().