arrayfire / arrayfire/arrayfire-dotnet

GetData gives incorrect results

Offen
#29 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
76
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.