Subversion Repositories gelsvn

Rev

Rev 2 | Rev 12 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 10
Line 78... Line 78...
78
											const ArithSqMatFloat<VT,MT,ROWS>& m2) 
78
											const ArithSqMatFloat<VT,MT,ROWS>& m2) 
79
	{
79
	{
80
		MT n;
80
		MT n;
81
		for(int i=0;i<ROWS;i++)
81
		for(int i=0;i<ROWS;i++)
82
			for(int j=0;j<ROWS;j++)
82
			for(int j=0;j<ROWS;j++)
-
 
83
				{
-
 
84
					n[i][j] = 0;
83
				for(int k=0;k<ROWS;k++)
85
					for(int k=0;k<ROWS;k++)
84
					n[i][j] += m1[i][k] * m2[k][j]; 
86
						n[i][j] += m1[i][k] * m2[k][j]; 
-
 
87
				}
85
		return n;
88
		return n;
86
	}
89
	}
87
 
90
 
88
	/** Compute the transpose of a square matrix. This function returns
91
	/** Compute the transpose of a square matrix. This function returns
89
			the transpose of its argument. */
92
			the transpose of its argument. */