Honeycomb  0.1
Component-Model Framework
Classes | Namespaces | Macros | Typedefs
Vec.h File Reference
#include "Honey/Math/Alge/Vec/Base.h"
#include "Honey/Math/Alge/Vec/priv/Storage.h"
Include dependency graph for Vec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  honey::vec::priv::Traits< Dim, Real_, Options, Alloc_ >
 N-dimensional vector traits. More...
 
struct  honey::matrix::priv::Traits< Vec< Dim, Real, Options, Alloc > >
 
class  honey::Vec< Dim, Real, Options, Alloc >
 N-dimensional vector. More...
 
class  honey::Matrix< Dim, 1, Real, Options, Alloc_ >
 Matrix column vector. More...
 
class  honey::Matrix< 1, Dim, Real, Options, Alloc_ >
 Matrix row vector. More...
 

Namespaces

 honey
 Global Honeycomb namespace.
 
 honey::vec
 Vec util.
 
 honey::vec::priv
 Vec implementation details.
 

Macros

#define MATRIX_VEC_ADAPTER
 It's not possible to inherit ctors, so this macro is required. More...
 

Typedefs

typedef Vec< matrix::dynamic > honey::VecN
 N-dimensional column vector types. More...
 
typedef Vec< matrix::dynamic, Float > honey::VecN_f
 
typedef Vec< matrix::dynamic, Double > honey::VecN_d
 
typedef Vec< matrix::dynamic, Real, matrix::Option::vecRow > honey::VecRowN
 N-dimensional row vector types. More...
 
typedef Vec< matrix::dynamic, Float, matrix::Option::vecRow > honey::VecRowN_f
 
typedef Vec< matrix::dynamic, Double, matrix::Option::vecRow > honey::VecRowN_d
 

Macro Definition Documentation

#define MATRIX_VEC_ADAPTER
Value:
public: \
using Super::s_size; \
using typename Super::Alloc; \
\
Matrix() {} \
template<class Int> \
explicit Matrix(Int dim, typename std::enable_if<std::is_integral<Int>::value && s_size == matrix::dynamic>::type*_=0) \
: Super(dim) {} \
explicit Matrix(Real scalar) : Super(scalar) {} \
Matrix(const Real* a, sdt dim) : Super(a,dim) {} \
Matrix(const Alloc& alloc) : Super(alloc) {} \
template<class T> \
Matrix(const MatrixBase<T>& rhs) : Super(rhs) {} \
template<class T> \
Matrix& operator=(const MatrixBase<T>& rhs) { Super::operator=(rhs); return *this; } \
static const sdt dynamic
Definition: Traits.h:23
ptrdiff_t sdt
Size difference type, shorthand for ptrdiff_t.
Definition: Core.h:92
static auto _
Definition: Module.cpp:8
float Real
Real number type. See Real_ for real number operations and constants.
Definition: Real.h:21
T * alloc(szt count=1)
Allocate memory for count number of T objects. Objects are not constructed.
Definition: Allocator.h:31

It's not possible to inherit ctors, so this macro is required.