SCM

SCM Repository

[batman] Annotation of /pkg/batman/src/VSdiv.cpp
ViewVC logotype

Annotation of /pkg/batman/src/VSdiv.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 120 - (view) (download) (as text)

1 : jie 120 // written by Dr. Jie Hao, Dr William Astle
2 :     #include <vector>
3 :     using namespace std;
4 :    
5 :     void VSdiv (vector<double> * V, double V2, vector<double> *P )
6 :     {
7 :     for (unsigned int i = 0; i<(*V).size(); i++)
8 :     (*P)[i] =(*V)[i]/V2;
9 :     }
10 :    

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge