tminres
Private Member Functions | Friends
Vector_trait Class Reference

This class describes the interface of a VECTOR to be used in minres. More...

#include <Vector_trait.hpp>

List of all members.

Private Member Functions

Vector_traitoperator= (const double &val)=0
 Set all the entry of the Vector equal to val.
Vector_traitoperator= (const Vector_trait &RHS)=0
 Set the entry of the Vector equal to the entries in RHS.
void Scale (const double &val)=0
 multiply THIS by a scalar value
Vector_traitClone ()=0
 Create a new vector with the same structure of THIS. Values are not initialized.

Friends

void add (const Vector_trait &v1, const double &c2, const Vector_trait &v2, Vector_trait &result)
 result = v1 + c2*v2
void add (const double &c1, const Vector_trait &v1, const double &c2, const Vector_trait &v2, Vector_trait &result)
 result = c1*v1 + c2*v2
void add (const double &alpha, const Vector_trait &v1, const Vector_trait &v2, Vector_trait &result)
 result = alpha(v1 + v2)
void add (const Vector_trait &v1, const Vector_trait &v2, const Vector_trait &v3, Vector_trait &result)
 result = v1 + v2 + v3
void subtract (const Vector_trait &v1, const Vector_trait &v2, Vector_trait &result)
 result = v1 - v2
double InnerProduct (const Vector_trait &v1, const Vector_trait &v2)
 return the inner product of v1 and v2

Detailed Description

This class describes the interface of a VECTOR to be used in minres.

Definition at line 24 of file Vector_trait.hpp.


The documentation for this class was generated from the following file:
 All Classes Files Functions Friends