EIGEN_DEFAULT_TO_ROW_MAJOR and other flags
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the EIGEN_DEFAULT_TO_ROW_MAJOR definition and the RcppEigen.h include in the reported Rcpp example, checking how macro placement affects the generated matrix layout. Compare the result with R's column-major behavior; done means the supported configuration or limitation is established and documented or tested.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm interfacing with a legacy C++ code which sets EIGEN_DEFAULT_TO_ROW_MAJOR (well known to break compatibility) but, basic searching and playing with defining the macro doesn't seem to help at all in R, matrices are still in column order and have to be manually reshaped (say matrix(byrow=T, ncol=3)).
I could wrap this thing in an R class and deal with this there every-time but was hoping I might have missed a way of setting the flag.
Things I tried:
#define EIGEN_DEFAULT_TO_ROW_MAJOR
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
And moving it after the #include or the comment also does not help.
- Lingua principale
- C++
- Stelle
- 118
- Fork
- 43
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RcppCore/RcppEigen
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
RcppEigen Submatrix Views Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
Tutte le issue di RcppCore/RcppEigen
Issue simili
-
[BUG] Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
eunomia-bpf/llvmbpf#51 · 1 commento ·
-
status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PX4/PX4-Autopilot#28776 ·
-
Website Doc Typo Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
autowarefoundation/autoware_universe#13413 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100