Skylark (Sketching Library)  0.1
Public Member Functions | Public Attributes
skylark::nla::mat_precond_t< XType, NType > Struct Template Reference

#include <precond.hpp>

Inheritance diagram for skylark::nla::mat_precond_t< XType, NType >:
Inheritance graph
[legend]
Collaboration diagram for skylark::nla::mat_precond_t< XType, NType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 mat_precond_t (const NType &N)
void apply (XType &X) const
 Apply the preconditoiner to X, overwritting X.
void apply_adjoint (XType &X) const

Public Attributes

const NType & N

Detailed Description

template<typename XType, typename NType>
struct skylark::nla::mat_precond_t< XType, NType >

A preconditioner that is explicitly given as a matrix.

Definition at line 40 of file precond.hpp.


Constructor & Destructor Documentation

template<typename XType , typename NType >
skylark::nla::mat_precond_t< XType, NType >::mat_precond_t ( const NType &  N) [inline]

Definition at line 43 of file precond.hpp.


Member Function Documentation

template<typename XType , typename NType >
void skylark::nla::mat_precond_t< XType, NType >::apply ( XType &  X) const [inline, virtual]

Apply the preconditoiner to X, overwritting X.

Implements skylark::nla::precond_t< XType >.

Definition at line 45 of file precond.hpp.

References skylark::base::Gemm(), and skylark::nla::mat_precond_t< XType, NType >::N.

Here is the call graph for this function:

template<typename XType , typename NType >
void skylark::nla::mat_precond_t< XType, NType >::apply_adjoint ( XType &  X) const [inline, virtual]

Implements skylark::nla::precond_t< XType >.

Definition at line 50 of file precond.hpp.

References skylark::base::Gemm(), and skylark::nla::mat_precond_t< XType, NType >::N.

Here is the call graph for this function:


Member Data Documentation

template<typename XType , typename NType >
const NType& skylark::nla::mat_precond_t< XType, NType >::N

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