Changes in src/LinearAlgebra/Vector.cpp [bcf653:a439e5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/LinearAlgebra/Vector.cpp
rbcf653 ra439e5 1 /*2 * Project: MoleCuilder3 * Description: creates and alters molecular systems4 * Copyright (C) 2010 University of Bonn. All rights reserved.5 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.6 */7 8 1 /** \file vector.cpp 9 2 * … … 11 4 * 12 5 */ 13 14 // include config.h15 #ifdef HAVE_CONFIG_H16 #include <config.h>17 #endif18 6 19 7 #include "Helpers/MemDebug.hpp" … … 62 50 gsl_vector_set(content->content,1,x2); 63 51 gsl_vector_set(content->content,2,x3); 64 };65 66 /** Constructor of class vector.67 */68 Vector::Vector(const double x[3])69 {70 content = new VectorContent();71 gsl_vector_set(content->content,0,x[0]);72 gsl_vector_set(content->content,1,x[1]);73 gsl_vector_set(content->content,2,x[2]);74 52 }; 75 53
Note:
See TracChangeset
for help on using the changeset viewer.