Skip to content

Instantly share code, notes, and snippets.

View kim-tom's full-sized avatar

Kimura Tomoki kim-tom

View GitHub Profile
@yuu
yuu / README.md
Last active December 17, 2022 11:01
[Qiita][python 3] DBus ことはじめ

dbus sample

#include <Eigen/Core>
#include <Eigen/Sparse>
#include <iostream>
using Vec = Eigen::VectorXd;
using Mat = Eigen::SparseMatrix<double,Eigen::RowMajor>;
void jacobi(const Mat &mat,const Vec &b,Vec &x,double eps,int max_iteration);
void sor(const Mat &mat,const Vec &b,Vec &x,double eps,int max_iteration,double omega);
void conjugate_gradient(const Mat &mat,const Vec &b,Vec &x,double eps,int max_iteration);