template<class T> T ScalProd

(const Vector<T> &v,
  const Vector<T> &w)

Scalar product.

Documentation

Scalar product. This is equivalent to sum(v*w). Not to be confused with the elementwise product v*w.
Parameters:
- v a vector
w - another vector
Returns:
vector = v.w

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.