Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(stdlib_linop_dp_type), | intent(in) | :: | A |
linear operator |
||
real(kind=dp), | intent(in) | :: | b(:) |
right-hand side vector |
||
real(kind=dp), | intent(inout) | :: | x(:) |
solution vector and initial guess |
||
real(kind=dp), | intent(in) | :: | rtol |
relative tolerance for convergence |
||
real(kind=dp), | intent(in) | :: | atol |
absolut tolerance for convergence |
||
integer, | intent(in) | :: | maxiter |
maximum number of iterations |
||
type(stdlib_solver_workspace_dp_type), | intent(inout) | :: | workspace |
workspace for the solver |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(stdlib_linop_sp_type), | intent(in) | :: | A |
linear operator |
||
real(kind=sp), | intent(in) | :: | b(:) |
right-hand side vector |
||
real(kind=sp), | intent(inout) | :: | x(:) |
solution vector and initial guess |
||
real(kind=sp), | intent(in) | :: | rtol |
relative tolerance for convergence |
||
real(kind=sp), | intent(in) | :: | atol |
absolut tolerance for convergence |
||
integer, | intent(in) | :: | maxiter |
maximum number of iterations |
||
type(stdlib_solver_workspace_sp_type), | intent(inout) | :: | workspace |
workspace for the solver |