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

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/vector.h
r35 r40 85 85 To be used when writting new classes using gslfunctions. 86 86 */ 87 inline gsl_vector* get_gsl_vector() const ;87 inline gsl_vector* get_gsl_vector() const { return v_; } 88 88 89 89 … … 104 104 where i = column (if row vector) or row (if column vector) 105 105 */ 106 inline Type get( const size_t& i ) const ;106 inline Type get( const size_t& i ) const { return gsl_vector_get(v_,i); } 107 107 108 108 … … 111 111 where i = column (if row vector) or row (if column vector) 112 112 */ 113 inline void set( const size_t& i, const Type& val ); 113 inline void set( const size_t& i, const Type& val ) 114 { gsl_vector_set(v_,i,val); } 114 115 115 116 /** … … 117 118 for all "i" 118 119 */ 119 inline void set_all( const Type& val ) ;120 inline void set_all( const Type& val ) { gsl_vector_set_all(v_,val); } 120 121 121 122 … … 186 187 bool is_col_; 187 188 }; 188 #include "vector.icc"189 189 190 190
Note: See TracChangeset
for help on using the changeset viewer.