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

#define ACCUM_OUTER_PRODUCT_2X2 ( m,
v,
 ) 

Value:

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

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

Definition at line 1116 of file gim_linear_math.h.


Generated by  Doxygen 1.6.0   Back to index