]> www.ginac.de Git - cln.git/blob - src/vector/cl_GV_number_copy.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / vector / cl_GV_number_copy.cc
1 // copy().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #define CL_GV_NO_RANGECHECKS
8 #include "cln/GV_number.h"
9
10
11 // Implementation.
12
13 namespace cln {
14
15 const cl_GV_number copy (const cl_GV_number& v)
16 {
17         var uintL len = v.length();
18         var cl_GV_number w = cl_GV_number(len);
19         cl_GV_number::copy_elements(v,0,w,0,len);
20         return w;
21 }
22
23 }  // namespace cln