ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/math/RectMatrix.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/math/RectMatrix.hpp (file contents):
Revision 1815 by tim, Wed Nov 24 20:55:03 2004 UTC vs.
Revision 1816 by tim, Wed Dec 1 19:10:51 2004 UTC

# Line 92 | Line 92 | namespace oopse {
92               * Return the reference of a single element of this matrix.
93               * @return the reference of a single element of this matrix
94               * @param i row index
95 <             * @param j colum index
95 >             * @param j Column index
96               */
97              Real& operator()(unsigned int i, unsigned int j) {
98                  //assert( i < Row && j < Col);
# Line 103 | Line 103 | namespace oopse {
103               * Return the value of a single element of this matrix.
104               * @return the value of a single element of this matrix
105               * @param i row index
106 <             * @param j colum index
106 >             * @param j Column index
107               */        
108              Real operator()(unsigned int i, unsigned int j) const  {
109                  
# Line 158 | Line 158 | namespace oopse {
158               * @return a column of  this matrix as a vector
159               * @param col the column index
160               */                
161 <            Vector<Real, Col> getColum(unsigned int col) {
161 >            Vector<Real, Col> getColumn(unsigned int col) {
162                  Vector<Real, Col> v;
163  
164                  for (unsigned int j = 0; j < Col; j++)
# Line 172 | Line 172 | namespace oopse {
172               * @param col the column index
173               * @param v the vector to be set
174               */                
175 <             void setColum(unsigned int col, const Vector<Real, Col>& v){
175 >             void setColumn(unsigned int col, const Vector<Real, Col>& v){
176  
177                  for (unsigned int j = 0; j < Col; j++)
178                      data_[j][col] = v[j];
# Line 191 | Line 191 | namespace oopse {
191              }
192  
193             /**
194 <             * swap two colums of this matrix
195 <             * @param i the first colum
196 <             * @param j the second colum
194 >             * swap two Columns of this matrix
195 >             * @param i the first Column
196 >             * @param j the second Column
197               */
198 <            void swapColum(unsigned int i, unsigned int j){
198 >            void swapColumn(unsigned int i, unsigned int j){
199                      assert(i < Col && j < Col);
200                      
201                      for (unsigned int k = 0; k < Row; k++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines