R 3.6.x Update for Sample Extension
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start by reading inst/include/RcppArmadillo/Alt_R_RNG.h and the sample extension at inst/include/RcppArmadilloExtensions/sample.h. Compare their RNG handling with the linked Base R commits covering rejection sampling, R_unif_rand(), and Walker sampling. Done means the sample extension follows the required R 3.6.x behavior, including the mentioned Rcpp local variant.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Glancing over the RcppArmadillo code, the Alt RNG setup directly uses R's RNG for uniform (e.g. Rf_runif(). However, the extension code in inst/RcppArmadilloExtension/sample.h does not.
So, likely this will need a patch that mirrors what is available in Base R. c.f. Implementation changes.
- Rejection sampling routine
- Implementation of
R_unif_rand()in existing R code - Walker sampling changes
This will likely be needed with Rcpp's local variant as well designed by @nathan-russell.
- Vorherrschende Sprache
- C++
- Sterne
- 211
- Forks
- 54
- Ø Merge
- 5 Min.
- Gemergte PRs (30 T.)
- 1
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus RcppCore/RcppArmadillo
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
RcppCore/RcppArmadillo#454 · 3 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
RcppCore/RcppArmadillo#364 · 10 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
RcppCore/RcppArmadillo#299 · 6 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
RcppCore/RcppArmadillo#268 · 3 Reaktionen ·
-
enhancement help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
RcppCore/RcppArmadillo#263 · 3 Kommentare · 2 Reaktionen ·
Alle Issues in RcppCore/RcppArmadillo
Ähnliche Issues
-
Website Doc Typo Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 92/100
autowarefoundation/autoware_universe#13413 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
automated-analysis bug memory-safety
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100