Skip to content

Commit bdffb4f

Browse files
committed
matrix -> rank-2 array
1 parent 8f35e98 commit bdffb4f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/specs/stdlib_linalg.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -899,15 +899,15 @@ Exceptions trigger an `error stop`.
899899
{!example/linalg/example_determinant2.f90!}
900900
```
901901

902-
## `svd` - Compute the singular value decomposition of a 2d matrix.
902+
## `svd` - Compute the singular value decomposition of a rank-2 array (matrix).
903903

904904
### Status
905905

906906
Experimental
907907

908908
### Description
909909

910-
This subroutine computes the singular value decomposition of a `real` or `complex` 2d matrix \( A = U \cdot S \cdot \V^T \).
910+
This subroutine computes the singular value decomposition of a `real` or `complex` rank-2 array (matrix) \( A = U \cdot S \cdot \V^T \).
911911
The solver is based on LAPACK's `*GESDD` backends.
912912

913913
Result vector `s` returns the array of singular values on the diagonal of \( S \).
@@ -953,15 +953,15 @@ Exceptions trigger an `error stop`, unless argument `err` is present.
953953
{!example/linalg/example_svd.f90!}
954954
```
955955

956-
## `svdvals` - Compute the singular values of a 2d matrix.
956+
## `svdvals` - Compute the singular values of a rank-2 array (matrix).
957957

958958
### Status
959959

960960
Experimental
961961

962962
### Description
963963

964-
This subroutine computes the singular values of a `real` or `complex` 2d matrix from its singular
964+
This subroutine computes the singular values of a `real` or `complex` rank-2 array (matrix) from its singular
965965
value decomposition \( A = U \cdot S \cdot \V^T \). The solver is based on LAPACK's `*GESDD` backends.
966966

967967
Result vector `s` returns the array of singular values on the diagonal of \( S \).

src/stdlib_linalg.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ module stdlib_linalg
559559
!! version: experimental
560560
!!
561561
!! Computes the singular value decomposition of a `real` or `complex` 2d matrix.
562-
!! ([Specification](../page/specs/stdlib_linalg.html#svd-compute-the-singular-value-decomposition-of-a-2d-matrix))
562+
!! ([Specification](../page/specs/stdlib_linalg.html#svd-compute-the-singular-value-decomposition-of-a-rank-2-array-matrix))
563563
!!
564564
!!### Summary
565565
!! Interface for computing the singular value decomposition of a `real` or `complex` 2d matrix.
@@ -631,7 +631,7 @@ module stdlib_linalg
631631
!! version: experimental
632632
!!
633633
!! Computes the singular values of a `real` or `complex` 2d matrix.
634-
!! ([Specification](../page/specs/stdlib_linalg.html#svdvals-compute-the-singular-values-of-a-2d-matrix))
634+
!! ([Specification](../page/specs/stdlib_linalg.html#svdvals-compute-the-singular-values-of-a-rank-2-array-matrix))
635635
!!
636636
!!### Summary
637637
!!

0 commit comments

Comments
 (0)