From f1e32b826ad7e27e8169ea2887e82da99ad2f55e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 3 May 2026 12:48:03 +0000 Subject: [PATCH 1/2] docs: add missing section template comments in `ndarray/base/diagonal` https://claude.ai/code/session_01TN5NTCuMBNT3XsWLVKS6tm --- .../@stdlib/ndarray/base/diagonal/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/node_modules/@stdlib/ndarray/base/diagonal/README.md b/lib/node_modules/@stdlib/ndarray/base/diagonal/README.md index 907883006d4e..703944bb8174 100644 --- a/lib/node_modules/@stdlib/ndarray/base/diagonal/README.md +++ b/lib/node_modules/@stdlib/ndarray/base/diagonal/README.md @@ -22,6 +22,8 @@ limitations under the License. > Return a view of the diagonal of a matrix (or stack of matrices). + +
For an `M`-by-`N` matrix `A`, the `k`-th diagonal is defined as @@ -60,6 +62,8 @@ the main diagonal is `[ a_{0,0}, a_{1,1}, a_{2,2} ]`, the super-diagonal `k = 1` + +
## Usage @@ -93,6 +97,8 @@ The function accepts the following arguments: + +
## Notes @@ -107,6 +113,8 @@ The function accepts the following arguments: + +
## Examples @@ -141,6 +149,8 @@ console.log( ndarray2array( y ) ); + +
From 433e6fdd2e17b1864ff748dfbc24c24ad30b47bf Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 3 May 2026 12:48:06 +0000 Subject: [PATCH 2/2] docs: restore canonical intro section comment in `ndarray/last` https://claude.ai/code/session_01TN5NTCuMBNT3XsWLVKS6tm --- lib/node_modules/@stdlib/ndarray/last/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/ndarray/last/README.md b/lib/node_modules/@stdlib/ndarray/last/README.md index e4082d293759..f64e63887ca6 100644 --- a/lib/node_modules/@stdlib/ndarray/last/README.md +++ b/lib/node_modules/@stdlib/ndarray/last/README.md @@ -22,7 +22,7 @@ limitations under the License. > Return a read-only view of the last element (or subarray) along one or more [`ndarray`][@stdlib/ndarray/ctor] dimensions. - +