Changes in src/gslvector.cpp [112b09:5e8e02]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gslvector.cpp
r112b09 r5e8e02 10 10 #include <cassert> 11 11 #include <cmath> 12 #include <iostream> 12 13 13 14 #include "gslvector.hpp" 14 15 #include "defs.hpp" 16 #include "vector.hpp" 17 #include "VectorContent.hpp" 15 18 16 19 /** Constructor of class GSLVector. … … 61 64 gsl_vector_memcpy (vector, &m.vector); 62 65 }; 66 67 /** 68 * This function sets the GSLvector from an ordinary vector. 69 * 70 * Takes access to the internal gsl_vector and copies it 71 */ 72 void GSLVector::SetFromVector(Vector &v){ 73 gsl_vector_memcpy (vector, v.get()->content); 74 } 63 75 64 76 /** This function returns the i-th element of a vector.
Note:
See TracChangeset
for help on using the changeset viewer.