NTPoly
Functions/Subroutines
linearsolversmodule_wrp Module Reference

Wraps the matrix inversion module for calling from other languages. More...

Functions/Subroutines

subroutine, public cgsolver_wrp (ih_AMat, ih_XMat, ih_BMat, ih_solver_parameters)
 Compute the inverse of a matrix. More...
 

Detailed Description

Wraps the matrix inversion module for calling from other languages.

Function/Subroutine Documentation

◆ cgsolver_wrp()

subroutine, public linearsolversmodule_wrp::cgsolver_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_AMat,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_XMat,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_BMat,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute the inverse of a matrix.

Parameters
[in]ih_AMatthe matrix A, must be symmetric, positive definite.
[out]ih_XMatthe solved for matrix X.
[in]ih_BMatthe right hand side.
[in]ih_solver_parametersparameters for the solver