Changes in src/LinearAlgebra/Vector.cpp [a439e5:bcf653]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/LinearAlgebra/Vector.cpp
ra439e5 rbcf653 1 /* 2 * Project: MoleCuilder 3 * Description: creates and alters molecular systems 4 * 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 1 8 /** \file vector.cpp 2 9 * … … 4 11 * 5 12 */ 13 14 // include config.h 15 #ifdef HAVE_CONFIG_H 16 #include <config.h> 17 #endif 6 18 7 19 #include "Helpers/MemDebug.hpp" … … 50 62 gsl_vector_set(content->content,1,x2); 51 63 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]); 52 74 }; 53 75
Note:
See TracChangeset
for help on using the changeset viewer.