| 
				
			 | 
			
			
				
				@@ -51,7 +51,7 @@ uge_gm_tmpl_mnt bool GenericMatrix<M, N, T>::equal(const T &other) const 
			 | 
		
		
	
		
			
			| 
				51
			 | 
			
				51
			 | 
			
			
				
				 { 
			 | 
		
		
	
		
			
			| 
				52
			 | 
			
				52
			 | 
			
			
				
				     for (int i = 0; i < M; ++i) { 
			 | 
		
		
	
		
			
			| 
				53
			 | 
			
				53
			 | 
			
			
				
				         for (int j = 0; j < N; ++j) { 
			 | 
		
		
	
		
			
			| 
				54
			 | 
			
				
			 | 
			
			
				
				-            if (_scalars[i][j] != other._scalars[i][j]) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				54
			 | 
			
			
				
				+            if (_scalars[i][j] != other.getScalar(i, j)) { 
			 | 
		
		
	
		
			
			| 
				55
			 | 
			
				55
			 | 
			
			
				
				                 return false; 
			 | 
		
		
	
		
			
			| 
				56
			 | 
			
				56
			 | 
			
			
				
				             } 
			 | 
		
		
	
		
			
			| 
				57
			 | 
			
				57
			 | 
			
			
				
				         } 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -103,7 +103,7 @@ uge_gm_tmpl_mnt T &GenericMatrix<M, N, T>::add(const T &other) 
			 | 
		
		
	
		
			
			| 
				103
			 | 
			
				103
			 | 
			
			
				
				 { 
			 | 
		
		
	
		
			
			| 
				104
			 | 
			
				104
			 | 
			
			
				
				     for (int i = 0; i < M; ++i) { 
			 | 
		
		
	
		
			
			| 
				105
			 | 
			
				105
			 | 
			
			
				
				         for (int j = 0; j < N; ++j) { 
			 | 
		
		
	
		
			
			| 
				106
			 | 
			
				
			 | 
			
			
				
				-            _scalars[i][j] += other._scalars[i][j]; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				106
			 | 
			
			
				
				+            _scalars[i][j] += other.getScalar(i, j); 
			 | 
		
		
	
		
			
			| 
				107
			 | 
			
				107
			 | 
			
			
				
				         } 
			 | 
		
		
	
		
			
			| 
				108
			 | 
			
				108
			 | 
			
			
				
				     } 
			 | 
		
		
	
		
			
			| 
				109
			 | 
			
				109
			 | 
			
			
				
				     return *getThis(); 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -123,7 +123,7 @@ uge_gm_tmpl_mnt T &GenericMatrix<M, N, T>::sub(const T &other) 
			 | 
		
		
	
		
			
			| 
				123
			 | 
			
				123
			 | 
			
			
				
				 { 
			 | 
		
		
	
		
			
			| 
				124
			 | 
			
				124
			 | 
			
			
				
				     for (int i = 0; i < M; ++i) { 
			 | 
		
		
	
		
			
			| 
				125
			 | 
			
				125
			 | 
			
			
				
				         for (int j = 0; j < N; ++j) { 
			 | 
		
		
	
		
			
			| 
				126
			 | 
			
				
			 | 
			
			
				
				-            _scalars[i][j] -= other._scalars[i][j]; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				126
			 | 
			
			
				
				+            _scalars[i][j] -= other.getScalar(i, j); 
			 | 
		
		
	
		
			
			| 
				127
			 | 
			
				127
			 | 
			
			
				
				         } 
			 | 
		
		
	
		
			
			| 
				128
			 | 
			
				128
			 | 
			
			
				
				     } 
			 | 
		
		
	
		
			
			| 
				129
			 | 
			
				129
			 | 
			
			
				
				     return *getThis(); 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -148,7 +148,7 @@ uge_gm_tmpl_mnt T &GenericMatrix<M, N, T>::mult(const T &other) 
			 | 
		
		
	
		
			
			| 
				148
			 | 
			
				148
			 | 
			
			
				
				 { 
			 | 
		
		
	
		
			
			| 
				149
			 | 
			
				149
			 | 
			
			
				
				     for (int i = 0; i < M; ++i) { 
			 | 
		
		
	
		
			
			| 
				150
			 | 
			
				150
			 | 
			
			
				
				         for (int j = 0; j < N; ++j) { 
			 | 
		
		
	
		
			
			| 
				151
			 | 
			
				
			 | 
			
			
				
				-            _scalars[i][j] *= other._scalars[i][j]; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				151
			 | 
			
			
				
				+            _scalars[i][j] *= other.getScalar(i, j); 
			 | 
		
		
	
		
			
			| 
				152
			 | 
			
				152
			 | 
			
			
				
				         } 
			 | 
		
		
	
		
			
			| 
				153
			 | 
			
				153
			 | 
			
			
				
				     } 
			 | 
		
		
	
		
			
			| 
				154
			 | 
			
				154
			 | 
			
			
				
				     return *getThis(); 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -190,7 +190,7 @@ uge_gm_tmpl_mnt T &GenericMatrix<M, N, T>::div(const T &other) 
			 | 
		
		
	
		
			
			| 
				190
			 | 
			
				190
			 | 
			
			
				
				 { 
			 | 
		
		
	
		
			
			| 
				191
			 | 
			
				191
			 | 
			
			
				
				     for (int i = 0; i < M; ++i) { 
			 | 
		
		
	
		
			
			| 
				192
			 | 
			
				192
			 | 
			
			
				
				         for (int j = 0; j < N; ++j) { 
			 | 
		
		
	
		
			
			| 
				193
			 | 
			
				
			 | 
			
			
				
				-            _scalars[i][j] /= other._scalars[i][j]; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				193
			 | 
			
			
				
				+            _scalars[i][j] /= other.getScalar(i, j); 
			 | 
		
		
	
		
			
			| 
				194
			 | 
			
				194
			 | 
			
			
				
				         } 
			 | 
		
		
	
		
			
			| 
				195
			 | 
			
				195
			 | 
			
			
				
				     } 
			 | 
		
		
	
		
			
			| 
				196
			 | 
			
				196
			 | 
			
			
				
				     return *getThis(); 
			 |