Ignore:
Timestamp:
Feb 1, 2008, 5:15:44 AM (14 years ago)
Author:
Peter
Message:

merging branch peter-dev into trunk delta 1008:994

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/matrix.h

    r1000 r1009  
    2929
    3030#include "vector.h"
     31#include "vectorView.h"
    3132#include "Exception.h"
    3233
     
    141142    ~matrix(void);
    142143
     144    ///
     145    /// Set all elements to \a value.
     146    ///
     147    void all(const double value);
     148
    143149    /**
    144150       \brief Make a copy of \a other.
     
    148154    */
    149155    const matrix& clone(const matrix& other);
     156
     157    /**
     158     */
     159    vectorView column_vec(size_t);
     160
     161    /**
     162     */
     163    const vectorView column_vec(size_t) const;
    150164
    151165    ///
     
    216230    size_t rows(void) const;
    217231
    218     ///
    219     /// Set all elements to \a value.
    220     ///
    221     void all(const double value);
    222 
    223     /**
    224        \brief Set \a column values to values in \a vec.
    225 
    226        \note No check on size is done.
    227 
    228        \throw GSL_error if index is out of range or mis-match in
    229        sizes.
    230     */
    231     void column(const size_t column, const vector& vec);
    232 
    233     /**
    234        \brief Set \a row values to values in \a vec.
    235 
    236        \note No check on size is done.
    237 
    238        \throw GSL_error if index is out of range or mis-match in
    239        sizes.
    240     */
    241     void row(const size_t row, const vector& vec);
     232    /**
     233     */
     234    vectorView row_vec(size_t);
     235
     236    /**
     237     */
     238    const vectorView row_vec(size_t) const;
    242239
    243240    /**
Note: See TracChangeset for help on using the changeset viewer.