Public Member Functions | Private Attributes | List of all members
gtsam::GaussianFactorGraphSystem Class Reference

#include <PCGSolver.h>

Public Member Functions

void axpy (const double alpha, const Vector &x, Vector &y) const
 
double dot (const Vector &x, const Vector &y) const
 
 GaussianFactorGraphSystem (const GaussianFactorGraph &gfg, const Preconditioner &preconditioner, const KeyInfo &info, const std::map< Key, Vector > &lambda)
 
void getb (Vector &b) const
 
void leftPrecondition (const Vector &x, Vector &y) const
 
void multiply (const Vector &x, Vector &y) const
 
void residual (const Vector &x, Vector &r) const
 
void rightPrecondition (const Vector &x, Vector &y) const
 
void scal (const double alpha, Vector &x) const
 

Private Attributes

const GaussianFactorGraphgfg_
 
KeyInfo keyInfo_
 
std::map< Key, Vectorlambda_
 
const Preconditionerpreconditioner_
 

Detailed Description

System class needed for calling preconditionedConjugateGradient

Definition at line 82 of file PCGSolver.h.

Constructor & Destructor Documentation

◆ GaussianFactorGraphSystem()

gtsam::GaussianFactorGraphSystem::GaussianFactorGraphSystem ( const GaussianFactorGraph gfg,
const Preconditioner preconditioner,
const KeyInfo info,
const std::map< Key, Vector > &  lambda 
)

Definition at line 69 of file PCGSolver.cpp.

Member Function Documentation

◆ axpy()

void gtsam::GaussianFactorGraphSystem::axpy ( const double  alpha,
const Vector x,
Vector y 
) const

Definition at line 140 of file PCGSolver.cpp.

◆ dot()

double gtsam::GaussianFactorGraphSystem::dot ( const Vector x,
const Vector y 
) const

Definition at line 137 of file PCGSolver.cpp.

◆ getb()

void gtsam::GaussianFactorGraphSystem::getb ( Vector b) const

Definition at line 107 of file PCGSolver.cpp.

◆ leftPrecondition()

void gtsam::GaussianFactorGraphSystem::leftPrecondition ( const Vector x,
Vector y 
) const

Definition at line 118 of file PCGSolver.cpp.

◆ multiply()

void gtsam::GaussianFactorGraphSystem::multiply ( const Vector x,
Vector y 
) const

Definition at line 90 of file PCGSolver.cpp.

◆ residual()

void gtsam::GaussianFactorGraphSystem::residual ( const Vector x,
Vector r 
) const

Definition at line 77 of file PCGSolver.cpp.

◆ rightPrecondition()

void gtsam::GaussianFactorGraphSystem::rightPrecondition ( const Vector x,
Vector y 
) const

Definition at line 126 of file PCGSolver.cpp.

◆ scal()

void gtsam::GaussianFactorGraphSystem::scal ( const double  alpha,
Vector x 
) const

Definition at line 134 of file PCGSolver.cpp.

Member Data Documentation

◆ gfg_

const GaussianFactorGraph& gtsam::GaussianFactorGraphSystem::gfg_
private

Definition at line 83 of file PCGSolver.h.

◆ keyInfo_

KeyInfo gtsam::GaussianFactorGraphSystem::keyInfo_
private

Definition at line 85 of file PCGSolver.h.

◆ lambda_

std::map<Key, Vector> gtsam::GaussianFactorGraphSystem::lambda_
private

Definition at line 86 of file PCGSolver.h.

◆ preconditioner_

const Preconditioner& gtsam::GaussianFactorGraphSystem::preconditioner_
private

Definition at line 84 of file PCGSolver.h.


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


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:14:20