25 #include <gtsam/dllexport.h> 27 #include <boost/shared_ptr.hpp> 34 class GaussianBayesNet;
35 class GaussianFactorGraph;
39 typedef boost::shared_ptr<SubgraphPreconditionerParameters>
shared_ptr;
55 typedef boost::shared_ptr<SubgraphPreconditioner>
shared_ptr;
57 typedef boost::shared_ptr<const GaussianFactorGraph>
sharedFG;
86 void print(
const std::string&
s =
"SubgraphPreconditioner")
const;
89 const sharedFG&
Ab2()
const {
return Ab2_; }
92 const sharedBayesNet&
Rc1()
const {
return Rc1_; }
95 const sharedErrors
b2bar()
const {
return b2bar_; }
116 void transposeMultiplyAdd2(
double alpha, Errors::const_iterator begin,
147 void transposeSolve(
const Vector& y,
Vector& x)
const override;
153 const std::map<Key,Vector> &
lambda void print(const Matrix &A, const string &s, ostream &stream)
const sharedErrors b2bar() const
boost::shared_ptr< const VectorValues > sharedValues
boost::shared_ptr< const GaussianBayesNet > sharedBayesNet
SubgraphPreconditionerParameters(const SubgraphBuilderParameters &p=SubgraphBuilderParameters())
Point2 operator*(double s, const Point2 &p)
multiply with scalar
static VectorValues Zero(const VectorValues &other)
SubgraphPreconditionerParameters parameters_
const sharedBayesNet & Rc1() const
VectorValues zero() const
sharedErrors b2bar_
A2*xbar - b2.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
sharedValues xbar_
A1 \ b1.
boost::shared_ptr< SubgraphPreconditionerParameters > shared_ptr
boost::shared_ptr< const GaussianFactorGraph > sharedFG
Vector operator^(const Matrix &A, const Vector &v)
Some support classes for iterative solvers.
cout<< "The eigenvalues of A are:"<< endl<< ces.eigenvalues()<< endl;cout<< "The matrix of eigenvectors, V, is:"<< endl<< ces.eigenvectors()<< endl<< endl;complex< float > lambda
boost::shared_ptr< SubgraphPreconditioner > shared_ptr
SubgraphBuilderParameters builderParams
boost::shared_ptr< const Errors > sharedErrors
const sharedFG & Ab2() const
~SubgraphPreconditioner() override
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x