Solves a small linear system Ax=b.
More...
|
subroutine | solvesmalllinearsystemsp (A, x, b, err, error,) |
| Finds the solution to a small single precision linear system Ax=b. More...
|
|
subroutine | solvesmalllinearsystemdp (A, x, b, err, error,) |
| Finds the solution to a small double precision linear system Ax=b. More...
|
|
Solves a small linear system Ax=b.
Definition at line 239 of file maths.f90.
subroutine maths::solve_small_linear_system::solvesmalllinearsystemdp |
( |
real(dp), dimension(:,:), intent(in) |
A, |
|
|
real(dp), dimension(:), intent(out) |
x, |
|
|
real(dp), dimension(:), intent(in) |
b, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Finds the solution to a small double precision linear system Ax=b.
- Parameters
-
[in] | a | The A matrix |
[out] | x | On exit, the solution vector x |
[in] | b | The RHS vector b |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 2493 of file maths.f90.
subroutine maths::solve_small_linear_system::solvesmalllinearsystemsp |
( |
real(sp), dimension(:,:), intent(in) |
A, |
|
|
real(sp), dimension(:), intent(out) |
x, |
|
|
real(sp), dimension(:), intent(in) |
b, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Finds the solution to a small single precision linear system Ax=b.
- Parameters
-
[in] | a | The A matrix |
[out] | x | On exit, the solution vector x |
[in] | b | The RHS vector b |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 2448 of file maths.f90.