$extrastylesheet
#include <mln/core/alias/vec2d.hh>
Public Member Functions | |
| vec2d_f () | |
| vec2d_f (const literal::zero_t &) | |
| vec2d_f (const literal::origin_t &) | |
| vec2d_f (const vec< 2u, float > &rhs) | |
| template<typename U > | |
| type | vec2d_f (const vec< 2u, U > &rhs) |
| const vec< n, float > & | normalize () |
| operator mat< n, 1, U > () const | |
| const float & | operator[] (unsigned i) const |
| float & | operator[] (unsigned i) |
| void | set_all (const float &val) |
| unsigned | size () const |
| mat< 1, n, float > | t () const |
| algebra::h_vec< n, float > | to_h_vec () const |
Static Public Attributes | |
| static const vec< n, float > | origin |
| static const vec< n, float > | zero |
Protected Attributes | |
| float | data_ [n] |
Public Types | |
| enum | |
| typedef Object< void > | category |
| typedef float | coord |
| typedef float | enc [n] |
| typedef float | equiv [n] |
| typedef vec< n, float > | exact_t |
| mln::vec2d_f::vec2d_f | ( | ) |
| mln::vec2d_f::vec2d_f | ( | const literal::zero_t & | ) |
Construct a vector set to (0,0).
| mln::vec2d_f::vec2d_f | ( | const literal::origin_t & | ) |
Construct a vector set to (0,0).
| mln::vec2d_f::vec2d_f | ( | const vec< 2u, float > & | rhs | ) |
Construct copy of another vector.
| type mln::vec2d_f::vec2d_f | ( | const vec< 2u, U > & | rhs | ) |
Construct copy of another vector encoded with a different.
|
inherited |
|
inherited |
Conversion to a matrix.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Transposition.
|
inherited |
|
protectedinherited |
Definition at line 120 of file algebra/vec.hh.
|
staticinherited |
Origin value.
Definition at line 258 of file algebra/vec.hh.
|
staticinherited |
Zero value.
Definition at line 255 of file algebra/vec.hh.
|
inherited |
|
inherited |
Definition at line 197 of file algebra/vec.hh.
|
inherited |
Definition at line 195 of file algebra/vec.hh.
|
inherited |
Definition at line 194 of file algebra/vec.hh.
|
inherited |
Definition at line 198 of file algebra/vec.hh.