Changes in src/gslvector.cpp [112b09:0c7ed8]
- File:
-
- 1 edited
-
src/gslvector.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/gslvector.cpp
r112b09 r0c7ed8 6 6 */ 7 7 8 #include "Helpers/MemDebug.hpp"9 10 8 #include <cassert> 11 9 #include <cmath> … … 13 11 #include "gslvector.hpp" 14 12 #include "defs.hpp" 13 #include "vector.hpp" 15 14 16 15 /** Constructor of class GSLVector. … … 61 60 gsl_vector_memcpy (vector, &m.vector); 62 61 }; 62 63 /** 64 * This function sets the GSLvector from an ordinary vector. 65 * 66 * Takes access to the internal gsl_vector and copies it 67 */ 68 void GSLVector::SetFromVector(Vector &v){ 69 gsl_vector_memcpy (vector, v.get()); 70 } 63 71 64 72 /** This function returns the i-th element of a vector.
Note:
See TracChangeset
for help on using the changeset viewer.
