SCM

SCM Repository

[batman] View of /pkg/batman/src/Vconstprod.cpp
ViewVC logotype

View of /pkg/batman/src/Vconstprod.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 120 - (download) (as text) (annotate)
Tue Feb 12 16:30:46 2013 UTC (6 years, 7 months ago) by jie
File size: 248 byte(s)
pkg
// written by Dr. Jie Hao, Dr William Astle
#include <vector>
using namespace std;

void Vconstprod (vector<double> * V, double consta, vector<double> *P )
{ 
    for (unsigned int i = 0; i<(*V).size(); i++)
      (*P)[i] =(*V)[i]*consta;      
}


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