add_arr.cc

Go to the documentation of this file.
00001 
00009 extern "C" {
00023 void add_arr(double *a, double *b, double *c, int n)
00024 {
00025   register int i;
00026 
00027   for (i=0; i < n; i++) {
00028     c[i] = a[i]+b[i];
00029   }
00030 }
00031 
00032 } /* extern "C" */
00033 

Generated on Wed Feb 13 16:35:39 2008 for PSI by  doxygen 1.5.4