3 #ifndef MYGSL_LINEAR_SYSTEM_SOLVER_H 4 #define MYGSL_LINEAR_SYSTEM_SOLVER_H 1 12 #include <gsl/gsl_histogram.h> 13 #include <gsl/gsl_vector.h> 14 #include <gsl/gsl_linalg.h> 15 #include <gsl/gsl_errno.h> 49 int solve (
const std::vector<double> & a_,
50 const std::vector<double> & b_,
51 std::vector<double> & x_);
57 void _init_ (
size_t dimension_);
63 std::vector<double> _va_;
64 std::vector<double> _vb_;
69 gsl_permutation * _p_;
81 double a2_,
double b2_,
double c2_,
82 double & x_,
double & y_);
86 #endif // MYGSL_LINEAR_SYSTEM_SOLVER_H brief Linear system solver algorithm
Definition: linear_system_solver.h:37
bool is_initialized() const
bool linear_system_2x2_solve(double a1_, double b1_, double c1_, double a2_, double b2_, double c2_, double &x_, double &y_)
size_t get_dimension() const
linear_system_solver(size_t dimension_=0)
virtual ~linear_system_solver()
int solve(const std::vector< double > &a_, const std::vector< double > &b_, std::vector< double > &x_)
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47