R 3.6.x Update for Sample Extension
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C++
- 星號
- 211
- 分支
- 54
- 平均合併
- 5 分鐘
- 30 天內合併 PR
- 1
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
RcppCore/RcppArmadillo 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
RcppCore/RcppArmadillo#454 · 3 則留言 ·
-
難度 5/5 一週以上 新手友好度 25/100
RcppCore/RcppArmadillo#364 · 10 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
RcppCore/RcppArmadillo#299 · 6 則留言 ·
-
難度 4/5 3-5 天 新手友好度 20/100
RcppCore/RcppArmadillo#268 · 3 個 reaction ·
-
enhancement help wanted
難度 4/5 3-5 天 新手友好度 35/100
RcppCore/RcppArmadillo#263 · 3 則留言 · 2 個 reaction ·
查看 RcppCore/RcppArmadillo 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
AXERA-TECH/ax-llm#77 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
games-on-whales/wolf#509 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 2/5 1-3 小時 新手友好度 74/100
-
bug-unconfirmed
難度 2/5 1-3 小時 新手友好度 76/100