Changeset 40 for trunk/src/matrix.h
 Timestamp:
 Feb 20, 2004, 3:03:25 PM (19 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/matrix.h
r30 r40 83 83 To be used when writting new classes using gslfunctions. 84 84 */ 85 inline gsl_matrix* get_gsl_matrix() const ;85 inline gsl_matrix* get_gsl_matrix() const { return m_; } 86 86 87 87 … … 101 101 where i = row number and j = column number 102 102 */ 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); } 104 105 105 106 … … 108 109 where i = row number and j = column number 109 110 */ 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 ); } 111 113 112 114 /** … … 114 116 for all "i" 115 117 */ 116 inline void set_all( const Type& val ) ;118 inline void set_all( const Type& val ) { gsl_matrix_set_all(m_,val); } 117 119 118 120 … … 225 227 gsl_matrix* m_; 226 228 }; 227 #include "matrix.icc"228 229 229 230
Note: See TracChangeset
for help on using the changeset viewer.