27 class GaussianFactorGraph;
31 struct PreconditionerParameters;
44 void print(std::ostream &
os)
const override;
48 return *preconditioner_;
52 void print(
const std::string &
s)
const;
56 void setPreconditionerParams(
const std::shared_ptr<PreconditionerParameters> preconditioner);
94 const std::map<Key, Vector> &
lambda);
void print(const Matrix &A, const string &s, ostream &stream)
double dot(const V1 &a, const V2 &b)
const Preconditioner & preconditioner_
const std::map< Key, Vector > & lambda_
static enum @1107 ordering
std::shared_ptr< Preconditioner > preconditioner_
Implementation of Conjugate Gradient solver for a linear system.
GTSAM_EXPORT VectorValues optimize(const GaussianFactorGraph &gfg, const KeyInfo *=nullptr, const std::map< Key, Vector > *lambda=nullptr)
std::shared_ptr< PCGSolver > shared_ptr
Array< int, Dynamic, 1 > v
Point3 optimize(const NonlinearFactorGraph &graph, const Values &values, Key landmarkKey)
void axpy(double alpha, const Errors &x, Errors &y)
BLAS level 2 style AXPY, y := alpha*x + y
std::shared_ptr< PCGSolverParameters > shared_ptr
std::shared_ptr< PreconditionerParameters > preconditioner_
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
const PreconditionerParameters & preconditioner() const
ofstream os("timeSchurFactors.csv")
const GaussianFactorGraph & gfg_
PCGSolverParameters parameters_
ConjugateGradientParameters Base
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
const std::vector< size_t > dimensions
VectorValues buildVectorValues(const Vector &v, const Ordering &ordering, const map< Key, size_t > &dimensions)
Create VectorValues from a Vector.
int EIGEN_BLAS_FUNC() scal(int *n, RealScalar *palpha, RealScalar *px, int *incx)