| 
					
							 Registered Member  
						
					
  | 
				
					 
							So there must be default constructor for Eigen::Block class. When i want to insert member Eigen::Block into a class with no initialization i get problem with it, do i have to initialize Eigen::Block before occupying memory for it. When i look size of Eigen::Block<MatrixXd> for example, it's size doesn't depent on row and col count and is only 20 byte. SO why i cant use it in a class? Do i have to define a pointer for it and allocate  memory for it on containing class like this: 
						
						
 do i have to use like this, 
  | 
			
| 
					
							 Registered Member  
						
					
  | 
				|
| 
					
							 Moderator  
						
					
  | 
				
					 
							A block object is not aimed to be change, so you have to bound it to a matrix at construction time. If you really want to change its target matrix, then you will have to the placement new C++ syntax (see the Map documentation for an example). So you could initialize your Block member object with a dummy matrix.
						 
						
						 | 
			
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]