NTPoly
|
Solve the matrix equation AX = B. More...
Functions/Subroutines | |
subroutine, public | cgsolver (AMat, XMat, BMat, solver_parameters_in) |
Solve the matrix equation AX = B using conjugate gradient. More... | |
Solve the matrix equation AX = B.
subroutine, public linearsolversmodule::cgsolver | ( | type(distributedsparsematrix_t), intent(in) | AMat, |
type(distributedsparsematrix_t), intent(inout) | XMat, | ||
type(distributedsparsematrix_t), intent(in) | BMat, | ||
type(iterativesolverparameters_t), intent(in), optional | solver_parameters_in | ||
) |
Solve the matrix equation AX = B using conjugate gradient.
[in] | AMat | the matrix A, must be symmetric, positive definite. |
[out] | XMat | the solved for matrix X. |
[in] | BMat | the right hand side. |
[in] | solver_parameters_in | parameters for the solver |