Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Matrix.cpp

    r0eb2dc r41ea3c  
    213213}
    214214
     215Matrix 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
    215222Matrix &Matrix::operator*=(const double factor){
    216223  gsl_matrix_scale(content->content, factor);
Note: See TracChangeset for help on using the changeset viewer.