Changeset 40 for trunk/src/matrix.h


Ignore:
Timestamp:
Feb 20, 2004, 3:03:25 PM (19 years ago)
Author:
Jari Häkkinen
Message:

Removed .icc files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matrix.h

    r30 r40  
    8383       To be used when writting new classes using gsl-functions.
    8484    */
    85     inline gsl_matrix* get_gsl_matrix() const; 
     85    inline gsl_matrix* get_gsl_matrix() const { return m_; } 
    8686
    8787
     
    101101       where i = row number and j = column number
    102102    */
    103     inline Type get( const size_t& i, const size_t& j ) const;
     103    inline Type get( const size_t& i, const size_t& j ) const
     104      { return gsl_matrix_get(m_,i_row,j_col); }
    104105
    105106
     
    108109       where i = row number and j = column number
    109110    */
    110     inline void set( const size_t& i, const size_t& j, const Type& val );
     111    inline void set( const size_t& i, const size_t& j, const Type& val )
     112      { gsl_matrix_set( m_, i_row, j_col, val ); }
    111113
    112114    /**
     
    114116       for all "i"
    115117    */
    116     inline void set_all( const Type& val );
     118    inline void set_all( const Type& val ) { gsl_matrix_set_all(m_,val); }
    117119
    118120
     
    225227    gsl_matrix* m_;
    226228  };
    227 #include "matrix.icc"
    228229
    229230
Note: See TracChangeset for help on using the changeset viewer.