Public Member Functions | Public 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
 

Public Attributes

const GaussianFactorGraphgfg_
 
const KeyInfokeyInfo_
 
const std::map< Key, Vector > & lambda_
 
const Preconditionerpreconditioner_
 

Detailed Description

System class needed for calling preconditionedConjugateGradient

Definition at line 89 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 73 of file PCGSolver.cpp.

Member Function Documentation

◆ axpy()

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

Definition at line 144 of file PCGSolver.cpp.

◆ dot()

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

Definition at line 141 of file PCGSolver.cpp.

◆ getb()

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

Definition at line 111 of file PCGSolver.cpp.

◆ leftPrecondition()

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

Definition at line 122 of file PCGSolver.cpp.

◆ multiply()

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

Definition at line 94 of file PCGSolver.cpp.

◆ residual()

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

Definition at line 81 of file PCGSolver.cpp.

◆ rightPrecondition()

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

Definition at line 130 of file PCGSolver.cpp.

◆ scal()

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

Definition at line 138 of file PCGSolver.cpp.

Member Data Documentation

◆ gfg_

const GaussianFactorGraph& gtsam::GaussianFactorGraphSystem::gfg_

Definition at line 96 of file PCGSolver.h.

◆ keyInfo_

const KeyInfo& gtsam::GaussianFactorGraphSystem::keyInfo_

Definition at line 98 of file PCGSolver.h.

◆ lambda_

const std::map<Key, Vector>& gtsam::GaussianFactorGraphSystem::lambda_

Definition at line 99 of file PCGSolver.h.

◆ preconditioner_

const Preconditioner& gtsam::GaussianFactorGraphSystem::preconditioner_

Definition at line 97 of file PCGSolver.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:46:19