6 namespace honey {
namespace vec {
namespace priv
12 template<
class Sub
class>
15 matrix::priv::Traits<Subclass>::dim,
16 matrix::Option::getAlign< matrix::priv::Traits<Subclass>::options >::value >
44 template<
class Sub
class>
55 using Super::operator();
Automatic (stack-compatible) vector storage that allows direct access to dimension fields...
Definition: Storage.h:13
Real & operator[](sdt i)
Definition: Storage.h:53
matrix::priv::Storage< Subclass > Super
Definition: Storage.h:47
const Real & operator[](sdt i) const
Access vector element at index.
Definition: Storage.h:26
Traits< Subclass >::Real Real
Definition: Storage.h:12
static const sdt s_cols
Definition: Storage.h:16
Real * data()
Definition: Storage.h:39
Auto or dynamic vector storage.
Definition: Storage.h:45
const Real & operator()(sdt row, sdt col) const
Access vector element with (row, column)
Definition: Storage.h:57
const Real & operator[](sdt i) const
Access vector element at index.
Definition: Storage.h:52
const Real * data() const
Definition: Storage.h:40
ptrdiff_t sdt
Size difference type, shorthand for ptrdiff_t.
Definition: Core.h:92
static const sdt s_rows
Definition: Storage.h:15
Real & operator()(sdt row, sdt col)
Definition: Storage.h:33
Chooses storage based on traits.
Definition: Storage.h:233
static const sdt s_size
Definition: Storage.h:17
void assertIndex(sdt i) const
Definition: Storage.h:50
sdt size() const
Definition: Storage.h:37
float Real
Real number type. See Real_ for real number operations and constants.
Definition: Real.h:21
Real & operator[](sdt i)
Definition: Storage.h:27
sdt rows() const
Definition: Storage.h:35
const Real & operator()(sdt i) const
Access vector element at index.
Definition: Storage.h:29
Real & operator()(sdt row, sdt col)
Definition: Storage.h:58
const Real & operator()(sdt row, sdt col) const
Access vector element with (row, column)
Definition: Storage.h:32
sdt cols() const
Definition: Storage.h:36
Global Honeycomb namespace.
Real & operator()(sdt i)
Definition: Storage.h:30