#include <Eigen/Sparse>
#include <vector>
#include <QImage>
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 Eigen::SparseMatrix<double> SpMat |
Definition at line 5 of file Tutorial_sparse_example_details.cpp.
typedef Eigen::Triplet<double> T |
Definition at line 6 of file Tutorial_sparse_example_details.cpp.
Definition at line 19 of file Tutorial_sparse_example_details.cpp.
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.
void saveAsBitmap | ( | const Eigen::VectorXd & | x, |
int | n, | ||
const char * | filename | ||
) |
Definition at line 37 of file Tutorial_sparse_example_details.cpp.