- Timestamp:
- Nov 27, 2005, 1:31:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/better_matrix_class/lib/gslapi/matrix.cc
r403 r404 119 119 120 120 121 // Jari, checkout GSL transpose support in GSL manual 8.4.9 122 /* 123 matrix matrix::transpose(void) const 124 { 125 matrix res(columns(),rows()); 126 gsl_matrix_transpose_memcpy(res.m_,m_); 127 return res; 128 } 129 */ 130 131 132 121 133 vector matrix::TEMP_col_return(size_t column) const 122 134 { … … 139 151 140 152 153 /* 141 154 matrix matrix::operator*( const matrix &other ) const 142 155 { … … 174 187 return res; 175 188 } 176 177 178 179 matrix& matrix::operator=( const matrix& other )189 */ 190 191 192 const matrix& matrix::operator=( const matrix& other ) 180 193 { 181 194 if ( this != &other ) { … … 185 198 } 186 199 return *this; 187 }188 189 190 191 // Jari, checkout GSL transpose support in GSL manual 8.4.9192 matrix matrix::transpose(void) const193 {194 matrix res(columns(),rows());195 gsl_matrix_transpose_memcpy(res.m_,m_);196 return res;197 200 } 198 201
Note: See TracChangeset
for help on using the changeset viewer.