Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gtsam::BlockJacobiPreconditioner Class Reference

#include <Preconditioner.h>

Inheritance diagram for gtsam::BlockJacobiPreconditioner:
Inheritance graph
[legend]

Public Types

typedef Preconditioner Base
 
- Public Types inherited from gtsam::Preconditioner
typedef std::vector< size_tDimensions
 
typedef boost::shared_ptr< Preconditionershared_ptr
 

Public Member Functions

 BlockJacobiPreconditioner ()
 
void build (const GaussianFactorGraph &gfg, const KeyInfo &info, const std::map< Key, Vector > &lambda) override
 build/factorize the preconditioner More...
 
void solve (const Vector &y, Vector &x) const override
 implement x = L^{-1} y More...
 
void transposeSolve (const Vector &y, Vector &x) const override
 implement x = L^{-T} y More...
 
 ~BlockJacobiPreconditioner () override
 
- Public Member Functions inherited from gtsam::Preconditioner
 Preconditioner ()
 
virtual ~Preconditioner ()
 

Protected Member Functions

void clean ()
 

Protected Attributes

double * buffer_
 
size_t bufferSize_
 
std::vector< size_tdims_
 
size_t nnz_
 

Detailed Description

Definition at line 131 of file Preconditioner.h.

Member Typedef Documentation

Definition at line 133 of file Preconditioner.h.

Constructor & Destructor Documentation

gtsam::BlockJacobiPreconditioner::BlockJacobiPreconditioner ( )

Definition at line 78 of file Preconditioner.cpp.

gtsam::BlockJacobiPreconditioner::~BlockJacobiPreconditioner ( )
override

Definition at line 82 of file Preconditioner.cpp.

Member Function Documentation

void gtsam::BlockJacobiPreconditioner::build ( const GaussianFactorGraph gfg,
const KeyInfo info,
const std::map< Key, Vector > &  lambda 
)
overridevirtual

build/factorize the preconditioner

Implements gtsam::Preconditioner.

Definition at line 126 of file Preconditioner.cpp.

void gtsam::BlockJacobiPreconditioner::clean ( )
protected

Definition at line 176 of file Preconditioner.cpp.

void gtsam::BlockJacobiPreconditioner::solve ( const Vector y,
Vector x 
) const
overridevirtual

implement x = L^{-1} y

Implements gtsam::Preconditioner.

Definition at line 85 of file Preconditioner.cpp.

void gtsam::BlockJacobiPreconditioner::transposeSolve ( const Vector y,
Vector x 
) const
overridevirtual

implement x = L^{-T} y

Implements gtsam::Preconditioner.

Definition at line 106 of file Preconditioner.cpp.

Member Data Documentation

double* gtsam::BlockJacobiPreconditioner::buffer_
protected

Definition at line 151 of file Preconditioner.h.

size_t gtsam::BlockJacobiPreconditioner::bufferSize_
protected

Definition at line 152 of file Preconditioner.h.

std::vector<size_t> gtsam::BlockJacobiPreconditioner::dims_
protected

Definition at line 150 of file Preconditioner.h.

size_t gtsam::BlockJacobiPreconditioner::nnz_
protected

Definition at line 153 of file Preconditioner.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:04