$extrastylesheet
#include <mln/algebra/h_vec.hh>
Public Member Functions | |
h_vec () | |
h_vec (const vec< d+1, C > &other) | |
const vec< n, C > & | normalize () |
operator mat< n, 1, U > () const | |
h_vec & | operator= (const vec< d+1, C > &rhs) |
const C & | operator[] (unsigned i) const |
C & | operator[] (unsigned i) |
void | set_all (const C &val) |
unsigned | size () const |
mat< 1, n, C > | t () const |
algebra::h_vec< n, C > | to_h_vec () const |
vec< d, C > | to_vec () const |
Static Public Attributes | |
static const vec< n, C > | origin |
static const vec< n, C > | zero |
Protected Attributes | |
C | data_ [n] |
Public Types | |
enum | |
enum | { dim = d } |
typedef Object< void > | category |
typedef C | coord |
typedef C | enc [n] |
typedef C | equiv [n] |
typedef vec< n, C > | exact_t |
N-Dimensional vector with homogeneous coordinates.
mln::algebra::h_vec< d, C >::h_vec | ( | ) |
Constructor without argument.
mln::algebra::h_vec< d, C >::h_vec | ( | const vec< d+1, C > & | other | ) |
Constructor with the underlying vector.
|
inherited |
|
inherited |
Conversion to a matrix.
h_vec& mln::algebra::h_vec< d, C >::operator= | ( | const vec< d+1, C > & | rhs | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Transposition.
|
inherited |
vec<d,C> mln::algebra::h_vec< d, C >::to_vec | ( | ) | const |
Back to the natural (non-homogeneous) space.
|
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 |
|
inherited |
Definition at line 198 of file algebra/vec.hh.