6 RealType Problem::DotProduct(DynamicVector<RealType>& v1,
7 DynamicVector<RealType>& v2) {
8 RealType dp =
dot(v1, v2);
12 RealType Problem::computeGradientNormValue(DynamicVector<RealType>& grad_f) {
13 RealType
dot = grad_f.lengthSquare();
Abstract optimization problem class.
Real dot(const DynamicVector< Real > &v1, const DynamicVector< Real > &v2)
Returns the dot product of two DynamicVectors.