Ignore:
Timestamp:
Jul 17, 2008, 11:26:58 PM (13 years ago)
Author:
Peter
Message:

refs #396

File:
1 edited

Legend:

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

    r1381 r1384  
    3636namespace yat {
    3737namespace utility {
     38
     39  class Matrix;
    3840
    3941  ///
     
    9799    MatrixWeighted(const MatrixWeighted&);
    98100
     101   
    99102    /**
    100103       \brief The istream constructor.
    101104
    102        Constructor is reading data values using corresponding
    103        constructor in Matrix class. The weights are calculate dusing
     105       Data is copied from \a other and weights are calculated using
    104106       the nan function.
     107    */
     108    explicit MatrixWeighted(const Matrix& other);
     109
     110    /**
     111       \brief The istream constructor.
     112
     113       This constructor first creates a Matrix using the istream
     114       constructor, and then constructs MatrixWeighted using
     115       MatrixWeighted(const Matrix&).
    105116    */
    106117    explicit MatrixWeighted(std::istream &, char sep='\0');
     
    221232
    222233  private:
     234    void copy(const Matrix&);
     235    void copy(const Matrix& data, const Matrix& weight);
     236
    223237    std::vector<DataWeight> vec_;
    224238    size_t columns_;
Note: See TracChangeset for help on using the changeset viewer.