Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ndarray-rand requirement from 0.14 to 0.15 #176

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Updates the requirements on ndarray-rand to permit the latest version.

Changelog

Sourced from ndarray-rand's changelog.

Version 0.15.0 (2021-03-25)

New features

  • Support inserting new axes while slicing by [@​jturner314]. This is an example:

    let view = arr.slice(s![.., -1, 2..;-1, NewAxis]);

    rust-ndarray/ndarray#570

  • Support two-sided broadcasting in arithmetic operations with arrays by [@​SparrowLii]

    This now allows, for example, addition of a 3 x 1 with a 1 x 3 array; the operands are in this case broadcast to 3 x 3 which is the shape of the result.

    Note that this means that a new trait bound is required in some places when mixing dimensionality types of arrays in arithmetic operations.

    rust-ndarray/ndarray#898

  • Support for compiling ndarray as no_std (using core and alloc) by [@​xd009642] and [@​bluss]

    rust-ndarray/ndarray#861 rust-ndarray/ndarray#889

  • New methods .cell_view() and ArrayViewMut::into_cell_view that enable new ways of working with array elements as if they were in Cells - setting elements through shared views and broadcast views, by [@​bluss].

    rust-ndarray/ndarray#877

  • New methods slice_each_axis/_mut/_inplace that make it easier to slice a dynamic number of axes in some situations, by [@​jturner314]

    rust-ndarray/ndarray#913

  • New method a.assign_to(b) with the inverse argument order compared to the existing b.assign(a) and some extra features like assigning into uninitialized arrays, By [@​bluss].

    rust-ndarray/ndarray#947

  • New methods .std() and .var() for standard deviation and variance by [@​kdubovikov]

... (truncated)

Commits
  • 84fe611 Merge pull request #1414 from rust-ndarray/release-0.16
  • b592995 Bump to ndarray 0.16 and ndarray-rand 0.15
  • 825e80b Update changelog for ndarray 0.16 and ndarray-rand 0.15
  • b03953a Check for aliasing in RawViewMut::from_shape_ptr
  • 9873c0a Merge pull request #1411 from rust-ndarray/ci
  • 3de33e4 ci: Require rustfmt check
  • 98c2f25 ci: Require nostd build
  • 8cbc348 ci: Remove duplicated test in cargo-careful
  • e9e8c9d Merge pull request #1410 from rust-ndarray/aliasing-checks
  • 516a504 Allow aliasing in ArrayView::from_shape
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [ndarray-rand](https://github.com/rust-ndarray/ndarray) to permit the latest version.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](rust-ndarray/ndarray@ndarray-rand-0.14.0...ndarray-rand-0.15.0)

---
updated-dependencies:
- dependency-name: ndarray-rand
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant