Changeset 131


Ignore:
Timestamp:
Aug 9, 2004, 3:23:40 PM (17 years ago)
Author:
Peter
Message:

function set_row added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matrix.h

    r130 r131  
    77
    88#include <gsl/gsl_matrix.h>
     9#include "vector.h"
    910
    1011namespace theplu {
     
    110111
    111112    ///
     113    /// Set column \a i to \a vec.
     114    ///
     115    inline void set_column(const size_t i, const vector vec)
     116    {gsl_matrix_set_col(m_, i, vec.gsl_vector_pointer());}
     117
     118    ///
     119    /// Set row \a i to \a vec.
     120    ///
     121    inline void set_row(const size_t i, const vector vec)
     122    {gsl_matrix_set_row(m_, i, vec.gsl_vector_pointer());}
     123
     124    ///
     125    /// Set column \a i to \a vec
     126    ///
     127    //void matrix set_column(const size_t i, const vector vec) const;
     128
     129    ///
    112130    /// Transpose the matrix.
    113131    ///
Note: See TracChangeset for help on using the changeset viewer.