RVL::LinearAlgebraPackage< Scalar > Class Template Reference

Interface to function objects defining the basic ops of linear algebra in Hilbert space: linear combination, assignment to the zero vector, and inner product. More...

#include <linalg.hh>

Inheritance diagram for RVL::LinearAlgebraPackage< Scalar >:

RVL::Writeable List of all members.

Public Member Functions

 LinearAlgebraPackage ()
 LinearAlgebraPackage (const LinearAlgebraPackage< Scalar > &)
virtual ~LinearAlgebraPackage ()
virtual FunctionObjectScalarRedn<
Scalar > & 
inner () const =0
 access to inner product
virtual FunctionObjectzero () const =0
 access to zero assignment
virtual LinCombObject< Scalar > & linComb () const =0
 access to linear combination
virtual bool compare (LinearAlgebraPackage< Scalar > const &lap) const =0
 Compare for compatibility with another LinearAlgebraPackage.

Detailed Description

template<class Scalar>
class RVL::LinearAlgebraPackage< Scalar >

Interface to function objects defining the basic ops of linear algebra in Hilbert space: linear combination, assignment to the zero vector, and inner product.

Pure virtual base, permitting any convenient definition of these objects.

Definition at line 64 of file linalg.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::LinearAlgebraPackage< Scalar >::LinearAlgebraPackage (  ) 

Definition at line 67 of file linalg.hh.

template<class Scalar>
RVL::LinearAlgebraPackage< Scalar >::LinearAlgebraPackage ( const LinearAlgebraPackage< Scalar > &   ) 

Definition at line 68 of file linalg.hh.

template<class Scalar>
virtual RVL::LinearAlgebraPackage< Scalar >::~LinearAlgebraPackage (  )  [virtual]

Definition at line 69 of file linalg.hh.


Member Function Documentation

template<class Scalar>
virtual FunctionObjectScalarRedn<Scalar>& RVL::LinearAlgebraPackage< Scalar >::inner (  )  const [pure virtual]

access to inner product

template<class Scalar>
virtual FunctionObject& RVL::LinearAlgebraPackage< Scalar >::zero (  )  const [pure virtual]

access to zero assignment

template<class Scalar>
virtual LinCombObject<Scalar>& RVL::LinearAlgebraPackage< Scalar >::linComb (  )  const [pure virtual]

access to linear combination

template<class Scalar>
virtual bool RVL::LinearAlgebraPackage< Scalar >::compare ( LinearAlgebraPackage< Scalar > const &  lap  )  const [pure virtual]

Compare for compatibility with another LinearAlgebraPackage.

Usual comparison basis - is the type the same? However "compatibility" can be defined more loosely when appropriate: the intended meaning is "produces the same results when applied to the same data". Returns zero if not compatible, nonzero otherwise.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RVL by  doxygen 1.4.7