dimforge / dimforge/nalgebra

Chunked Iterators

Open
#799 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for this awesome library! :heart:

**Proposal:** I want to propose a new function called `iter_chunked(&self)` and associates (`_mut`, `into_`, `row`, `column`) allowing for a chunked iteration over the array. The behaviour regarding remainders could be copied from [std](https://doc.rust-lang.org/std/primitive.slice.html#method.chunks_exact`). The benefit of this new function over the std's `chunks_exact` would be type level support (i.e. you get a `Matrix`) and maybe some optimization possibilities.

**Use Case:** Destructuring a matrix to share it among workers for parallelized processing.

What do you think of this? I am new to this library so it might easily be that I missed a function better suitable for my use case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.