|
type(t_soleq) mod_linear_equation::leq_gradient_elt |
( |
type(matrix),intent(in) |
m, |
|
|
type(vector),intent(in) |
v, |
|
|
type(vector),intent(in),optional |
v0, |
|
|
real*4,intent(in),optional |
eps, |
|
|
integer,intent(in),optional |
iter_max, |
|
|
logical,intent(in),optional |
is_precond | |
|
) |
| | |
solve mx=v by gradient method
- Author:
- Abal-Kassim Cheik Ahamed <akcheik@gmail.com>
- Parameters:
-
| m | : type(matrix) |
| v | : type(vector) |
| v0 | : type(vector), initial vector (optional) |
| eps | : real*4 , tolerance error (optional) |
| iter_max | : integer, iteration max (optional) |
| is_precond | : if .true -> with preconditionnor (optional) |
- Date:
- 13th of March, 2011
- Returns:
- res : type(t_soleq)
- Exceptions:
-
| + |
- m and v must be allocated
(square matrix expected)
|
Definition at line 1256 of file linear_equation.f90.
|