Skip to content

docs: use dedicated zero-dimensional tensor constructor in ndarray/base/atleast2d - #16909

Merged
kgryte merged 2 commits into
stdlib-js:developfrom
Aryan9891:docs/atleast2d-tensor0d-16654
Nov 27, 2026
Merged

kgryte merged 2 commits into
stdlib-js:developfrom
Aryan9891:docs/atleast2d-tensor0d-16654

Conversation

@Aryan9891

@Aryan9891 Aryan9891 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Progresses #16654.

Description

This pull request:

  • Updates documentation examples, JSDoc annotations, types, and REPL text files in @stdlib/ndarray/base/atleast2d to use dedicated typed zero-dimensional tensor constructors (@stdlib/ndarray/tensor0d/float64) instead of @stdlib/ndarray/from-scalar.

Related Issues

This pull request has the following related issues:

Reference Packages

This pull request followed these packages:

  • ndarray/base/atleast2d

Checklist

  • The pull request title matches the template: docs: use dedicated zero-dimensional tensor constructor in \<package_name>``
  • Read, understood, and followed the contributing guidelines
  • I have read and understood the Code of Conduct.
  • I have signed off my commits using git commit -s.
  • All tests and lint checks pass.

…ase/atleast2d`

Signed-off-by: Aryan Sachin <aryansachinixd@gmail.com>
@Aryan9891
Aryan9891 requested a review from a team November 27, 2026 22:01
@Aryan9891

Copy link
Copy Markdown
Contributor Author

I have read and agree to the contributing guidelines.

@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Nov 27, 2026
@stdlib-bot

stdlib-bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
ndarray/base/atleast2d $\\color{green}102/102$
$\\color{green}+0.00\\%$
$\\color{green}3/3$
$\\color{green}+0.00\\%$
$\\color{green}1/1$
$\\color{green}+0.00\\%$
$\\color{green}102/102$
$\\color{green}+0.00\\%$

The above coverage report was generated for the changes in this PR.

@kgryte kgryte added Documentation Improvements, additions, or changes to documentation. review: 5 and removed Needs Review A pull request which needs code review. labels Nov 27, 2026
Signed-off-by: Athan <kgryte@gmail.com>
@kgryte
kgryte merged commit 78e0d9b into stdlib-js:develop Nov 27, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation. Good First PR A pull request resolving a Good First Issue. review: 4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants