12 #include <boost/shared_ptr.hpp> 19 class GaussianFactorGraph;
26 typedef boost::shared_ptr<PreconditionerParameters>
shared_ptr;
49 virtual void print(std::ostream &
os)
const;
51 static Kernel kernelTranslator(
const std::string &
s);
52 static Verbosity verbosityTranslator(
const std::string &s);
53 static std::string kernelTranslator(
Kernel k);
54 static std::string verbosityTranslator(
Verbosity v);
84 virtual void transposeSolve(
const Vector& y,
Vector& x)
const = 0;
90 const std::map<Key,Vector> &
lambda 97 typedef boost::shared_ptr<DummyPreconditionerParameters>
shared_ptr;
119 const std::map<Key,Vector> &
lambda 143 const std::map<Key,Vector> &
lambda void print(const Matrix &A, const string &s, ostream &stream)
void build(const GaussianFactorGraph &gfg, const KeyInfo &info, const std::map< Key, Vector > &lambda) override
build/factorize the preconditioner
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
PreconditionerParameters()
Verbosity verbosity() const
PreconditionerParameters Base
boost::shared_ptr< PreconditionerParameters > shared_ptr
void transposeSolve(const Vector &y, Vector &x) const override
implement x = L^{-T} y
virtual ~PreconditionerParameters()
BlockJacobiPreconditionerParameters()
std::vector< size_t > dims_
~DummyPreconditionerParameters() override
boost::shared_ptr< Preconditioner > createPreconditioner(const boost::shared_ptr< PreconditionerParameters > params)
~DummyPreconditioner() override
boost::shared_ptr< DummyPreconditionerParameters > shared_ptr
static ConjugateGradientParameters parameters
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
typedef and functions to augment Eigen's VectorXd
ofstream os("timeSchurFactors.csv")
DummyPreconditionerParameters()
void solve(const Vector &y, Vector &x) const override
implement x = L^{-1} y
boost::shared_ptr< Preconditioner > shared_ptr
PreconditionerParameters Base
PreconditionerParameters(const PreconditionerParameters &p)
~BlockJacobiPreconditionerParameters() 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
boost::shared_ptr< DummyPreconditioner > shared_ptr
virtual ~Preconditioner()
std::vector< size_t > Dimensions