2 #ifndef vnl_cross_product_matrix_h_ 3 #define vnl_cross_product_matrix_h_ 21 #include "vnl/vnl_export.h" 51 double const& e1 =
v[0];
52 double const& e2 =
v[1];
53 double const& e3 =
v[2];
57 E(0,0) = 0; E(0,1) = -e3; E(0,2) = e2;
58 E(1,0) = e3; E(1,1) = 0; E(1,2) = -e1;
59 E(2,0) = -e2; E(2,1) = e1; E(2,2) = 0;
65 #endif // vnl_cross_product_matrix_h_ vnl_cross_product_matrix(vnl_vector_fixed< double, 3 > const &v)
vnl_cross_product_matrix & operator=(const vnl_cross_product_matrix &that)
vnl_cross_product_matrix(vnl_vector< double > const &v)
Fixed size, stack-stored, space-efficient matrix.
vnl_matrix_fixed & operator=(const vnl_matrix_fixed &rhs)=default
Copy another vnl_matrix_fixed<T,m,n> into this.
vnl_cross_product_matrix(const double *v)
Calculates the 3x3 skew symmetric cross product matrix from a vector.
Fixed length stack-stored, space-efficient vector.
~vnl_cross_product_matrix()=default
Fixed length stack-stored vector.
vnl_cross_product_matrix & set(const double *v)
Construct a vnl_cross_product_matrix from a C-array of 3 doubles.