Logo Search packages:      
Sourcecode: blender version File versions  Download package

#define ACCUM_OUTER_PRODUCT_3X3 ( m,
v,
 ) 

Value:

{                                               \
   m[0][0] += v[0] * t[0];                            \
   m[0][1] += v[0] * t[1];                            \
   m[0][2] += v[0] * t[2];                            \
                                                \
   m[1][0] += v[1] * t[0];                            \
   m[1][1] += v[1] * t[1];                            \
   m[1][2] += v[1] * t[2];                            \
                                                \
   m[2][0] += v[2] * t[0];                            \
   m[2][1] += v[2] * t[1];                            \
   m[2][2] += v[2] * t[2];                            \
}\
outer product of vector times vector transpose

The outer product of vector v and vector transpose t yeilds dyadic matrix m.

Definition at line 1131 of file gim_linear_math.h.


Generated by  Doxygen 1.6.0   Back to index