Typedefs | Functions
Tutorial_sparse_example_details.cpp File Reference
#include <Eigen/Sparse>
#include <vector>
#include <QImage>
Include dependency graph for Tutorial_sparse_example_details.cpp:

Go to the source code of this file.

Typedefs

typedef Eigen::SparseMatrix< double > SpMat
 
typedef Eigen::Triplet< double > T
 

Functions

void buildProblem (std::vector< T > &coefficients, Eigen::VectorXd &b, int n)
 
void insertCoefficient (int id, int i, int j, double w, std::vector< T > &coeffs, Eigen::VectorXd &b, const Eigen::VectorXd &boundary)
 
void saveAsBitmap (const Eigen::VectorXd &x, int n, const char *filename)
 

Typedef Documentation

◆ SpMat

typedef Eigen::SparseMatrix<double> SpMat

Definition at line 5 of file Tutorial_sparse_example_details.cpp.

◆ T

typedef Eigen::Triplet<double> T

Definition at line 6 of file Tutorial_sparse_example_details.cpp.

Function Documentation

◆ buildProblem()

void buildProblem ( std::vector< T > &  coefficients,
Eigen::VectorXd &  b,
int  n 
)

Definition at line 19 of file Tutorial_sparse_example_details.cpp.

◆ insertCoefficient()

void insertCoefficient ( int  id,
int  i,
int  j,
double  w,
std::vector< T > &  coeffs,
Eigen::VectorXd &  b,
const Eigen::VectorXd &  boundary 
)

Definition at line 8 of file Tutorial_sparse_example_details.cpp.

◆ saveAsBitmap()

void saveAsBitmap ( const Eigen::VectorXd &  x,
int  n,
const char *  filename 
)

Definition at line 37 of file Tutorial_sparse_example_details.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:57