source: trunk/src/vector.icc @ 12

Last change on this file since 12 was 12, checked in by daniel, 19 years ago

Matrix and vector APIs for GSL.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 371 bytes
Line 
1// This function defines all inline functions!
2
3vector::Type vector::get( const size_t& i ) const
4{
5  return gsl_vector_get( v_, i );
6}
7
8
9gsl_vector* vector::get_gsl_vector() const
10{
11  return v_;
12
13
14
15void vector::set( const size_t& i, const Type& val )
16{
17  gsl_vector_set( v_, i, val );
18}
19
20
21void vector::set_all( const Type& val )
22{
23  gsl_vector_set_all( v_, val );
24}
25
Note: See TracBrowser for help on using the repository browser.