arrayfire / arrayfire/arrayfire-dotnet
GetData gives incorrect results
Open
- Dominant language
- C#
- Stars
- 76
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
The Matrix.Transpose method seems to be broken for nonsquare arrays.
Example code to produce the error is shown below. It seems that transpose assumes that the incoming matrix dimensions are switched perhaps.
[Program.txt](https://github.com/arrayfire/arrayfire-dotnet/files/4157651/Program.txt)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached Program.txt example and trace the Matrix.Transpose method in the .NET wrapper. Reproduce the result for a nonsquare array, then verify that the transposed dimensions and values are correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100