Dune::SeqOptmizedProduct< Vector > Class Template Reference

#include <ScalarProducts.hpp>

Inheritance diagram for Dune::SeqOptmizedProduct< Vector >:
Inheritance graph

Public Member Functions

double dot (const Vector &vx, const Vector &vy) const override
 Dot product of two vectors. More...
 
double norm (const Vector &vx) const override
 Vector L2-norm. More...
 

Detailed Description

template<class Vector>
class Dune::SeqOptmizedProduct< Vector >

A sequential scalar product that ignores block structure of the vector to facilitate well-known optimization techniques

Member Function Documentation

◆ dot()

template<class Vector >
double Dune::SeqOptmizedProduct< Vector >::dot ( const Vector &  vx,
const Vector &  vy 
) const
inlineoverride

Dot product of two vectors.

Parameters
vxfirst input vector
vysecond input vector

References vec_dot().

Referenced by Dune::SeqOptmizedProduct< Vector >::norm().

◆ norm()

template<class Vector >
double Dune::SeqOptmizedProduct< Vector >::norm ( const Vector &  vx) const
inlineoverride

Vector L2-norm.

Parameters
vxinput vector

References Dune::SeqOptmizedProduct< Vector >::dot().


The documentation for this class was generated from the following file: