Class: Numo::GSL::SpLinalg::IterSolve::Gmres
- Inherits:
-
Numo::GSL::SpLinalg::IterSolve
- Object
- Numo::GSL::SpLinalg::IterSolve
- Numo::GSL::SpLinalg::IterSolve::Gmres
- Defined in:
- ext/numo/gsl/spmatrix/gsl_spmatrix.c
Class Method Summary collapse
-
.new(n, m) ⇒ Object
Generate an instance of Numo::GSL::SpLinalg::IterSolve::Gmres class, a subclass of Numo::GSL::SpLinalg::IterSolve class with gsl_splinalg_itersolve_gmres type.
Methods inherited from Numo::GSL::SpLinalg::IterSolve
Class Method Details
.new(n, m) ⇒ Object
Generate an instance of Numo::GSL::SpLinalg::IterSolve::Gmres class, a subclass of Numo::GSL::SpLinalg::IterSolve class with gsl_splinalg_itersolve_gmres type.
This function allocates a workspace for the iterative solution of n-by-n sparse matrix systems. The iterative solver type is specified by T. The argument m specifies the size of the solution candidate subspace K_m. The dimension m may be set to 0 in which case a reasonable default value is used.
753 754 755 756 757 |
# File 'ext/numo/gsl/spmatrix/gsl_spmatrix.c', line 753
static VALUE
splinalg_itersolve_gmres_s_new(VALUE self, VALUE v1, VALUE v2)
{
return splinalg_itersolve_s_new(self, gsl_splinalg_itersolve_gmres, v1, v2);
}
|