RVL::LocalLinearAlgebraPackage< DataType, Scalar > Class Template Reference

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

#include <locallinalg.hh>

Inheritance diagram for RVL::LocalLinearAlgebraPackage< DataType, Scalar >:

RVL::LinearAlgebraPackage< Scalar > RVL::Writeable List of all members.

Public Member Functions

 LocalLinearAlgebraPackage ()
 LocalLinearAlgebraPackage (const LocalLinearAlgebraPackage< Scalar, DataType > &)
virtual ~LocalLinearAlgebraPackage ()
virtual BinaryLocalFunctionObjectScalarRedn<
DataType, Scalar > & 
localinner () const =0
 access to inner product
FunctionObjectScalarRedn<
Scalar > & 
inner () const
 inherited access to inner product
virtual UnaryLocalFunctionObject<
DataType > & 
localzero () const =0
 access to zero assignment
FunctionObjectzero () const
 inherited access to zero assignment
virtual bool compare (LinearAlgebraPackage< Scalar > const &lap) const =0
 Compare for compatibility with another LinearAlgebraPackage.
virtual void write (RVLException &e) const =0
 report to exception
virtual ostream & write (ostream &str) const =0
 report to ostream

Detailed Description

template<class DataType, class Scalar = DataType>
class RVL::LocalLinearAlgebraPackage< DataType, Scalar >

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

Virtual base implementing the LinearAlgebraPackage interface at the local level, permitting any convenient definition of these objects.

Definition at line 60 of file locallinalg.hh.


Constructor & Destructor Documentation

template<class DataType, class Scalar = DataType>
RVL::LocalLinearAlgebraPackage< DataType, Scalar >::LocalLinearAlgebraPackage (  ) 

Definition at line 63 of file locallinalg.hh.

template<class DataType, class Scalar = DataType>
RVL::LocalLinearAlgebraPackage< DataType, Scalar >::LocalLinearAlgebraPackage ( const LocalLinearAlgebraPackage< Scalar, DataType > &   ) 

Definition at line 64 of file locallinalg.hh.

template<class DataType, class Scalar = DataType>
virtual RVL::LocalLinearAlgebraPackage< DataType, Scalar >::~LocalLinearAlgebraPackage (  )  [virtual]

Definition at line 65 of file locallinalg.hh.


Member Function Documentation

template<class DataType, class Scalar = DataType>
virtual BinaryLocalFunctionObjectScalarRedn<DataType,Scalar>& RVL::LocalLinearAlgebraPackage< DataType, Scalar >::localinner (  )  const [pure virtual]

access to inner product

Implemented in RVL::RVLLinearAlgebraPackage< Scalar >, RVL::RVLLinearAlgebraPackage< float >, and RVL::RVLLinearAlgebraPackage< T >.

Referenced by RVL::LocalLinearAlgebraPackage< Scalar, Scalar >::inner().

template<class DataType, class Scalar = DataType>
FunctionObjectScalarRedn<Scalar>& RVL::LocalLinearAlgebraPackage< DataType, Scalar >::inner (  )  const [virtual]

inherited access to inner product

Implements RVL::LinearAlgebraPackage< Scalar >.

Definition at line 70 of file locallinalg.hh.

template<class DataType, class Scalar = DataType>
virtual UnaryLocalFunctionObject<DataType>& RVL::LocalLinearAlgebraPackage< DataType, Scalar >::localzero (  )  const [pure virtual]

access to zero assignment

Implemented in RVL::RVLLinearAlgebraPackage< Scalar >, RVL::RVLLinearAlgebraPackage< float >, and RVL::RVLLinearAlgebraPackage< T >.

Referenced by RVL::LocalLinearAlgebraPackage< Scalar, Scalar >::zero().

template<class DataType, class Scalar = DataType>
FunctionObject& RVL::LocalLinearAlgebraPackage< DataType, Scalar >::zero (  )  const [virtual]

inherited access to zero assignment

Implements RVL::LinearAlgebraPackage< Scalar >.

Definition at line 74 of file locallinalg.hh.

template<class DataType, class Scalar = DataType>
virtual bool RVL::LocalLinearAlgebraPackage< DataType, 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.

Implements RVL::LinearAlgebraPackage< Scalar >.

Implemented in RVL::RVLLinearAlgebraPackage< Scalar >.

template<class DataType, class Scalar = DataType>
virtual void RVL::LocalLinearAlgebraPackage< DataType, Scalar >::write ( RVLException e  )  const [pure virtual]

report to exception

Reimplemented from RVL::Writeable.

Implemented in RVL::RVLLinearAlgebraPackage< Scalar >, RVL::RVLLinearAlgebraPackage< float >, and RVL::RVLLinearAlgebraPackage< T >.

template<class DataType, class Scalar = DataType>
virtual ostream& RVL::LocalLinearAlgebraPackage< DataType, Scalar >::write ( ostream &  str  )  const [pure virtual]

report to ostream

Implements RVL::Writeable.

Implemented in RVL::RVLLinearAlgebraPackage< Scalar >, RVL::RVLLinearAlgebraPackage< float >, and RVL::RVLLinearAlgebraPackage< T >.


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