Changeset 242


Ignore:
Timestamp:
Feb 22, 2005, 12:31:37 PM (17 years ago)
Author:
Jari Häkkinen
Message:

Fixed mul_elements documentation, and made it inline.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matrix.cc

    r240 r242  
    114114
    115115
    116   void matrix::mul_elements(const matrix& other)
    117   {
    118     gsl_matrix_mul_elements( m_, other.m_ );
    119   }
    120 
    121 
    122 
    123116  vector matrix::TEMP_col_return(size_t column) const
    124117  {
  • trunk/src/matrix.h

    r240 r242  
    8989    ///
    9090    /// This function multiplies all elements between two matrices and
    91     /// returns a third matrix containing the result, \f$a_{ij} =
    92     /// b_{ij} * c_{ij} \; \forall i,j\f$.
    93     ///
    94     /// @return The result matrix.
    95     ///
    96     void mul_elements(const matrix&);
     91    /// the result is stored back into the calling object, \f$a_{ij} =
     92    /// a_{ij} * b_{ij} \; \forall i,j\f$.
     93    ///
     94    inline void mul_elements(const matrix& b)
     95      { gsl_matrix_mul_elements(m_,b.m_); }
    9796
    9897    ///
Note: See TracChangeset for help on using the changeset viewer.