cheshirekow
v0.1.0
|
cross-product matrix of a vector More...
#include <fiber/cross_matrix.h>
Public Types | |
enum | { ROWS_ = 3, COLS_ = 3, SIZE_ = 9 } |
Public Member Functions | |
_CrossMatrix (Exp const &A) | |
Size | cols () const |
Scalar | operator() (Size i, Size j) const |
return the evaluated (j,i)'th element of a matrix expression More... | |
Scalar | operator[] (Size i) const |
return the evaluated i'th element of a vector expression More... | |
Size | rows () const |
Size | size () const |
Public Member Functions inherited from fiber::_RValue< Scalar, _CrossMatrix< Scalar, Exp > > | |
Size | cols () const |
Scalar | operator() (Size i, Size j) const |
Scalar | operator[] (Size i) const |
Size | rows () const |
Size | size () const |
Private Attributes | |
Exp const & | v_ |
wrapped expression More... | |
cross-product matrix of a vector
Given a vector v, the CrossMatrix of v is the skew symmetric 3x3 matrix given by: | 0 -v[2] v[1] | | v[2] 0 -v[0] | | -v[1] v[0] 0 |
Note: relatively private class, construct with the CrossMatrix function.
Definition at line 58 of file cross_matrix.h.
anonymous enum |
Enumerator | |
---|---|
ROWS_ | |
COLS_ | |
SIZE_ |
Definition at line 63 of file cross_matrix.h.
|
inline |
Definition at line 69 of file cross_matrix.h.
|
inline |
Definition at line 77 of file cross_matrix.h.
|
inline |
return the evaluated (j,i)'th element of a matrix expression
Definition at line 85 of file cross_matrix.h.
|
inline |
return the evaluated i'th element of a vector expression
Definition at line 80 of file cross_matrix.h.
|
inline |
Definition at line 76 of file cross_matrix.h.
|
inline |
Definition at line 75 of file cross_matrix.h.
|
private |
wrapped expression
Definition at line 60 of file cross_matrix.h.