Changes in src/LinearAlgebra/Vector.cpp [bf3817:a439e5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/LinearAlgebra/Vector.cpp
rbf3817 ra439e5 4 4 * 5 5 */ 6 7 // include config.h8 #ifdef HAVE_CONFIG_H9 #include <config.h>10 #endif11 6 12 7 #include "Helpers/MemDebug.hpp" … … 55 50 gsl_vector_set(content->content,1,x2); 56 51 gsl_vector_set(content->content,2,x3); 57 };58 59 /** Constructor of class vector.60 */61 Vector::Vector(const double x[3])62 {63 content = new VectorContent();64 gsl_vector_set(content->content,0,x[0]);65 gsl_vector_set(content->content,1,x[1]);66 gsl_vector_set(content->content,2,x[2]);67 52 }; 68 53
Note:
See TracChangeset
for help on using the changeset viewer.