1 #include <Eigen/Sparse> 8 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd&
b,
int n);
11 int main(
int argc,
char** argv)
14 std::cerr <<
"Error: expected one and only one argument.\n";
22 std::vector<T> coefficients;
31 Eigen::VectorXd
x = chol.
solve(b);
const Solve< SimplicialCholesky< _MatrixType, _UpLo, _Ordering >, Rhs > solve(const MatrixBase< Rhs > &b) const
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Eigen::Triplet< double > T
Eigen::SparseMatrix< double > SpMat
void setFromTriplets(const InputIterators &begin, const InputIterators &end)
void buildProblem(std::vector< T > &coefficients, Eigen::VectorXd &b, int n)
int main(int argc, char **argv)
void saveAsBitmap(const Eigen::VectorXd &x, int n, const char *filename)
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