Go to the documentation of this file.
12 void vddiv(std::vector<double> & x, std::vector<double>
const& y,
13 std::vector<double>
const& z);
23 void vdaxpy(std::vector<double> & x, std::vector<double>
const& y,
24 double alpha, std::vector<double>
const& z );
34 double dscapr(std::vector<double>
const& x, std::vector<double>
const& y);
56 bool CompareVectors(std::vector<double>
const& x,
int n,
double const y[],
double const eps=0.0);
void vddiv(std::vector< double > &x, std::vector< double > const &y, std::vector< double > const &z)
Element-wise vector divison x_k = y_k/z_k.
bool CompareVectors(std::vector< double > const &x, int n, double const y[], double const eps=0.0)
Compares an STL vector with POD vector.
void vdaxpy(std::vector< double > &x, std::vector< double > const &y, double alpha, std::vector< double > const &z)
Element-wise daxpy operation x(k) = y(k) + alpha*z(k).
double dscapr(std::vector< double > const &x, std::vector< double > const &y)
Calculates the Euclidian inner product of two vectors.
void DebugVector(std::vector< double > const &v)