Changeset 40 for trunk/src/vector.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/vector.h

    r35 r40  
    8585       To be used when writting new classes using gsl-functions.
    8686    */
    87     inline gsl_vector* get_gsl_vector() const
     87    inline gsl_vector* get_gsl_vector() const { return v_; }
    8888
    8989
     
    104104       where i = column (if row vector) or row (if column vector)
    105105    */
    106     inline Type get( const size_t& i ) const;
     106    inline Type get( const size_t& i ) const { return gsl_vector_get(v_,i); }
    107107
    108108
     
    111111       where i = column (if row vector) or row (if column vector)
    112112    */
    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); }
    114115
    115116    /**
     
    117118       for all "i"
    118119    */
    119     inline void set_all( const Type& val );
     120    inline void set_all( const Type& val ) { gsl_vector_set_all(v_,val); }
    120121
    121122
     
    186187    bool is_col_;
    187188  };
    188 #include "vector.icc"
    189189
    190190
Note: See TracChangeset for help on using the changeset viewer.