Go to the source code of this file.
|
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...
|
|
#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.