Changes in src/Matrix.cpp [0eb2dc:41ea3c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Matrix.cpp
r0eb2dc r41ea3c 213 213 } 214 214 215 Matrix Matrix::transpose() const{ 216 MatrixContent *newContent = new MatrixContent(); 217 gsl_matrix_transpose_memcpy(newContent->content, content->content); 218 Matrix res = Matrix(newContent); 219 return res; 220 } 221 215 222 Matrix &Matrix::operator*=(const double factor){ 216 223 gsl_matrix_scale(content->content, factor);
Note:
See TracChangeset
for help on using the changeset viewer.