Go to the source code of this file.
[inline]
swap two vectors
Definition at line 95 of file dcovector-misc.hpp.
References dcovector::Array, dcovector::Desc, dcovector::L, and dcovector::Ll.
00096 { 00097 long u_L(u.L), u_Ll(u.Ll), u_Desc[9]; 00098 double* u_Array(u.Array); 00099 u.L=v.L; u.Ll=v.Ll; u.Array=v.Array; 00100 v.L=u_L; v.Ll=u_Ll; v.Array=u_Array; 00101 for(int i=0; i<9; i++){ 00102 u_Desc[i] =u.Desc[i]; 00103 u.Desc[i] =v.Desc[i]; 00104 v.Desc[i] =u_Desc[i]; 00105 } 00106 }