Complex numbers from R to C++ and viceversa
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 15/100
Research direction
Start by reviewing pull request #427, which the issue identifies as the implementation for complex-number conversion between R and C++. Then inspect cpp11armadillo's inst/include/wrappers/matrices.hpp around lines 118-132 to understand the matrix representation and verify whether the PR supports passing the matrix without an auxiliary list.
Written by the indexing model from the issue text.
Description
I added that here https://github.com/r-lib/cpp11/pull/427.
For cpp11armadillo I define a list with 2 matrices, one with the real part and another with the complex part. With this PR it is possible to pass the matrix without an auxiliary list https://github.com/pachadotdev/cpp11armadillo/blob/main/inst/include/wrappers/matrices.hpp#L118-L132
- Dominant language
- C++
- Stars
- 224
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-lib/cpp11
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·