Skip to content

Commit bc13246

Browse files
committed
Merge branch 'linalg_solve' of github.com:perazz/stdlib into linalg_solve
2 parents 4458b88 + 8d5e682 commit bc13246

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/specs/stdlib_linalg.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ Specifically, upper Hessenberg matrices satisfy `a_ij = 0` when `j < i-1`, and l
600600
{!example/linalg/example_is_hessenberg.f90!}
601601
```
602602

603-
## `solve` - Solves a linear matrix equation or a linear system of scalar equations.
603+
## `solve` - Solves a linear matrix equation or a linear system of equations.
604604

605605
### Status
606606

@@ -610,7 +610,7 @@ Experimental
610610

611611
This function computes the solution to a linear matrix equation \( A \cdot x = b \), where \( A \) is a square, full-rank, `real` or `complex` matrix.
612612

613-
Result vector `x` returns the exact solution to within numerical precision, provided that the matrix is not ill-conditioned. The solver is based on LAPACK's `*GESV` backends.
613+
Result vector or array `x` returns the exact solution to within numerical precision, provided that the matrix is not ill-conditioned. The solver is based on LAPACK's `*GESV` backends.
614614

615615
### Syntax
616616

@@ -630,9 +630,9 @@ Two
630630

631631
`b`: Shall be a rank-1 or rank-2 array of the same kind as `a`, containing the right-hand-side vector(s). It is an `intent(in)` argument.
632632

633-
`overwrite_a` (optional): Shall be an input logical flag. if `.true.`, input matrix a will be used as temporary storage and overwritten. This avoids internal data allocation. This is an `intent(in)` argument.
633+
`overwrite_a` (optional): Shall be an input logical flag. if `.true.`, input matrix `a` will be used as temporary storage and overwritten. This avoids internal data allocation. This is an `intent(in)` argument.
634634

635-
`err` (optional): Shall be a `type(linalg_state_type)` value. This is an `intent(out)` argument: the function is not `pure` if this argument is requested.
635+
`err` (optional): Shall be a `type(linalg_state_type)` value. This is an `intent(out)` argument. The function is not `pure` if this argument is provided.
636636

637637
### Return value
638638

src/stdlib_linalg.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module stdlib_linalg
1212
use stdlib_linalg_constants, only: sp, dp, qp, lk, ilp
1313
use stdlib_error, only: error_stop
1414
use stdlib_optval, only: optval
15-
use stdlib_linalg_state, only: linalg_state_type, linalg_error_handling
15+
use stdlib_linalg_state, only: linalg_state_type, linalg_error_handling
1616
implicit none
1717
private
1818

src/stdlib_linalg_solve.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ submodule (stdlib_linalg) stdlib_linalg_solve
111111

112112
end function stdlib_linalg_${ri}$_solve_${ndsuf}$
113113

114-
! Compute the solution to a real system of linear equations A * X = B (pure interface)
114+
!> Compute the solution to a real system of linear equations A * X = B (pure interface)
115115
pure module function stdlib_linalg_${ri}$_pure_solve_${ndsuf}$(a,b) result(x)
116116
!> Input matrix a[n,n]
117117
${rt}$, intent(in), target :: a(:,:)

0 commit comments

Comments
 (0)