Skip to content

docs: use dedicated zero-dimensional tensor constructor in ndarray/base/atleast1d - #16908

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

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

Conversation

@Aryan9891

@Aryan9891 Aryan9891 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #16654.

Description

This pull request:

  • Updates documentation examples, JSDoc annotations, types, and REPL text files in @stdlib/ndarray/base/atleast1d 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/atleast1d

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.

@Aryan9891
Aryan9891 requested a review from a team November 27, 2026 21:38
@stdlib-bot

Copy link
Copy Markdown
Contributor

Hello! Thank you for your contribution to stdlib.

We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:

  1. Please read our contributing guidelines.

  2. Update your pull request description to include this checked box:

    - [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)

This acknowledgment confirms that you've read the guidelines, which include:

  • The developer's certificate of origin
  • Your agreement to license your contributions under the project's terms

We can't review or accept contributions without this acknowledgment.

Thank you for your understanding and cooperation. We look forward to reviewing your contribution!

@stdlib-bot stdlib-bot added the Good First PR A pull request resolving a Good First Issue. label Nov 27, 2026
…ase/atleast1d`

Signed-off-by: Aryan Sachin <aryansachinixd@gmail.com>
@Aryan9891

Copy link
Copy Markdown
Contributor Author

I have read and agree to the contributing guidelines.

@Aryan9891
Aryan9891 force-pushed the docs/atleast1d-tensor0d-16654 branch from 5f43817 to 825adf7 Compare November 27, 2026 21:45
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label 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/atleast1d $\\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 difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. 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 f8092f9 into stdlib-js:develop Nov 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. Good First PR A pull request resolving a Good First Issue. review: 5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: Improve zero-dimensional ndarray creation in tests and examples

3 participants