|   Registered Member   
 | 
							Hi, I'm learning Eigen by porting some of my STL code to Eigen. Eigen is really great! It really ease my life and give a significant speed boost. However I see one operator seems to be undefined, which is Scalar/Matrix (coefficient-wise). I also tried with Scalar/Matrix.array(). It still says operator undefined. I see we have coefficient-wise Scalar*Matrix, Matrix*Scalar and Matrix/Scalar, but can't find Scalar/Matrix. Is there a existing operator or function to do this in Eigen? Currently I'm using Scalar*Matrix.array().inverse(). Is there any over head for this? Will the expression template be parsed to 
 or 
 Sorry if I'm ignorant about expression template. But I think even if inverse() will do the job without overhead, a "Scalar/Matrix" operator will be more convenient. Thank the Eigen people for the really nice library! I'm escaping from Matlab because I found myself beginning to get used to index number starting from 1,  which will lock me into Matlab and Fortran. I'm trying to avoid them with C++ and python. Eigen really make this process easier than I thought about C++. | 
|   Moderator   
 | 
							works for me. Make sure you are using the 3.1 version. 
 | 
|   Registered Member   
 | 
							Opps. I'm using 3.0.6 from gentoo portage. Time to upgrade   Thank you! | 
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]
 
		 
		 
		 
		