Changes in src/LinearAlgebra/Vector.cpp [a439e5:bf3817]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/LinearAlgebra/Vector.cpp
ra439e5 rbf3817 4 4 * 5 5 */ 6 7 // include config.h 8 #ifdef HAVE_CONFIG_H 9 #include <config.h> 10 #endif 6 11 7 12 #include "Helpers/MemDebug.hpp" … … 50 55 gsl_vector_set(content->content,1,x2); 51 56 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]); 52 67 }; 53 68
Note:
See TracChangeset
for help on using the changeset viewer.