GPLIB++
Functions | Variables
perftest.cpp File Reference
#include <vector>
#include <algorithm>
#include <numeric>
#include <boost/bind.hpp>
#include <cmath>
#include <functional>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_expression.hpp>

Go to the source code of this file.

Functions

void f (vector< double > &v1, vector< double > &v2, vector< double > &v3, vector< double > &v4)
 
void g (vector< double > &v1, vector< double > &v2, vector< double > &v3, vector< double > &v4)
 
void h (vector< double > &v1, vector< double > &v2, vector< double > &v3, vector< double > &v4)
 
void ublasf (ublas::vector< double > &v1, ublas::vector< double > &v2, ublas::vector< double > &v3, ublas::vector< double > &v4)
 
void ublasg (ublas::vector< double > &v1, ublas::vector< double > &v2, ublas::vector< double > &v3, ublas::vector< double > &v4)
 
void ublash (ublas::vector< double > &v1, ublas::vector< double > &v2, ublas::vector< double > &v3, ublas::vector< double > &v4)
 
int main ()
 

Variables

const int size = 1000000
 
const int iterations = 1
 

Function Documentation

void f ( vector< double > &  v1,
vector< double > &  v2,
vector< double > &  v3,
vector< double > &  v4 
)
void g ( vector< double > &  v1,
vector< double > &  v2,
vector< double > &  v3,
vector< double > &  v4 
)

Definition at line 27 of file perftest.cpp.

Referenced by main().

void h ( vector< double > &  v1,
vector< double > &  v2,
vector< double > &  v3,
vector< double > &  v4 
)

Definition at line 40 of file perftest.cpp.

Referenced by main().

int main ( void  )

Definition at line 90 of file perftest.cpp.

References f(), g(), h(), size, ublasf(), ublasg(), and ublash().

void ublasf ( ublas::vector< double > &  v1,
ublas::vector< double > &  v2,
ublas::vector< double > &  v3,
ublas::vector< double > &  v4 
)

Definition at line 54 of file perftest.cpp.

Referenced by main().

void ublasg ( ublas::vector< double > &  v1,
ublas::vector< double > &  v2,
ublas::vector< double > &  v3,
ublas::vector< double > &  v4 
)

Definition at line 64 of file perftest.cpp.

Referenced by main().

void ublash ( ublas::vector< double > &  v1,
ublas::vector< double > &  v2,
ublas::vector< double > &  v3,
ublas::vector< double > &  v4 
)

Definition at line 77 of file perftest.cpp.

Referenced by main().

Variable Documentation

const int iterations = 1

Definition at line 15 of file perftest.cpp.

Referenced by main().

const int size = 1000000