CVR-Lib last update 20 Sep 2009

cvr::lapackInterface Class Reference
[LAPack based functors]

Interface object for LAPACK functions. More...

#include <cvrLapackInterface.h>

Inheritance diagram for cvr::lapackInterface:

Inheritance graph
[legend]
Collaboration diagram for cvr::lapackInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const std::string & name () const

Protected Member Functions

 lapackInterface ()
virtual ~lapackInterface ()
void lockInterface () const
void unlockInterface () const


Detailed Description

Interface object for LAPACK functions.

This class contains locking methods for LAPACK. If you implement an interface class for a LAPACK method, you should inherit from this class. As an example for such a method, see the cvr::generalEigenVectors class.

When implementing an interface, you obviously need the prototype of the LAPACK method. There are two methods for this:

See also:
LAPack based functors

Constructor & Destructor Documentation

cvr::lapackInterface::lapackInterface (  )  [protected]

Default constructor.

virtual cvr::lapackInterface::~lapackInterface (  )  [protected, virtual]

Destructor.


Member Function Documentation

void cvr::lapackInterface::lockInterface (  )  const [inline, protected]

Lock the LAPack interface.

Unfortunately, LAPACK is not thread-safe. Therefore we must use a mutex to protect threads from concurrent execution.

References cvr::mutex::lock().

virtual const std::string& cvr::lapackInterface::name (  )  const [inline, virtual]

returns the name of this type

Reimplemented in cvr::luDecomposition< T >, cvr::qrDecomposition< T >, and cvr::symmetricEigenSystem< T >.

void cvr::lapackInterface::unlockInterface (  )  const [inline, protected]

Unlock the LAPack interface.

Unfortunately, LAPACK is not thread-safe. Therefore we must use a mutex to protect threads from concurrent execution.

References cvr::mutex::unlock().


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

Generated on Sun Sep 20 22:09:12 2009 for CVR-Lib by Doxygen 1.5.8