Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic matrix use introduction is missing in Rcpp #1538

Open
juangomezduaso opened this issue May 12, 2019 · 0 comments
Open

Basic matrix use introduction is missing in Rcpp #1538

juangomezduaso opened this issue May 12, 2019 · 0 comments

Comments

@juangomezduaso
Copy link
Contributor

juangomezduaso commented May 12, 2019

In the Outline (lines 30-33) of Rcpp.Rmd the use of a matrix class is anounced:

  • Section @ref(rcpp-intro) teaches you how to write C++ by
    converting simple R functions to their C++ equivalents. You'll learn how
    C++ differs from R, and what the key scalar, vector, and matrix classes
    are called.

Later, line 93 promises to teach how to convert basic functions with

  • Matrix input and vector output

But , as far as I can see, there is no more mention to matrices in all the section's text or examples
In section 25.6.1 ( Gibbs sampler. Line 821) there is an example using them as input and output, so I think their presence in the rcpp-intro section is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant