Blender V5.0
VecMat.h File Reference

Vectors and Matrices definition and manipulation. More...

#include <iostream>
#include <math.h>
#include <vector>
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Classes

struct  Freestyle::VecMat::Internal::is_false< B >
struct  Freestyle::VecMat::Internal::is_false< false >
class  Freestyle::VecMat::Vec< T, N >
class  Freestyle::VecMat::Vec2< T >
class  Freestyle::VecMat::HVec3< T >
class  Freestyle::VecMat::Vec3< T >
class  Freestyle::VecMat::Matrix< T, M, N >
class  Freestyle::VecMat::SquareMatrix< T, N >

Namespaces

namespace  Freestyle
 inherits from class Rep
namespace  Freestyle::VecMat
namespace  Freestyle::VecMat::Internal

Macros

#define _SIZE   (M * N)
#define _SIZE   (N * N)

Functions

template<class T, uint N>
Vec< T, NFreestyle::VecMat::operator* (const typename Vec< T, N >::value_type r, const Vec< T, N > &v)
template<class T, uint N>
std::ostream & Freestyle::VecMat::operator<< (std::ostream &s, const Vec< T, N > &v)
template<class T, uint M, uint N>
Matrix< T, M, NFreestyle::VecMat::operator+ (const Matrix< T, M, N > &m1, const Matrix< T, M, N > &m2)
template<class T, uint M, uint N>
Matrix< T, M, NFreestyle::VecMat::operator- (const Matrix< T, M, N > &m1, const Matrix< T, M, N > &m2)
template<class T, uint M, uint N>
Matrix< T, M, NFreestyle::VecMat::operator* (const Matrix< T, M, N > &m1, const typename Matrix< T, M, N >::value_type lambda)
template<class T, uint M, uint N>
Matrix< T, M, NFreestyle::VecMat::operator* (const typename Matrix< T, M, N >::value_type lambda, const Matrix< T, M, N > &m1)
template<class T, uint M, uint N>
Matrix< T, M, NFreestyle::VecMat::operator/ (const Matrix< T, M, N > &m1, const typename Matrix< T, M, N >::value_type lambda)
template<class T, uint M, uint N, uint P>
Matrix< T, M, PFreestyle::VecMat::operator* (const Matrix< T, M, N > &m1, const Matrix< T, N, P > &m2)
template<class T, uint M, uint N>
Vec< T, MFreestyle::VecMat::operator* (const Matrix< T, M, N > &m, const Vec< T, N > &v)
template<class T, uint M, uint N>
std::ostream & Freestyle::VecMat::operator<< (std::ostream &s, const Matrix< T, M, N > &m)

Detailed Description

Vectors and Matrices definition and manipulation.

Definition in file VecMat.h.

Macro Definition Documentation

◆ _SIZE [1/2]

#define _SIZE   (N * N)

Definition at line 605 of file VecMat.h.

◆ _SIZE [2/2]