strider

Strided Iterator and Range

The strided iterator adapts multidimensional buffers to work with the C++ standard library and range-based for-loops. Given a pointer or iterator into a multidimensional data buffer, one can generate an iterator range using make_strided to construct strided versions of the standard library's begin and end. For constructing range-based for-loops, a strided_range class is provided. These help authors to avoid integer-based indexing, which in some cases can impede algorithm performance and introduce indexing errors. This library exists primarily to expose the header file to other R projects.

Total

1,810

Last month

197

Last week

40

Average per day

7

Daily downloads

Total downloads

Description file content

Package
strider
Type
Package
Title
Strided Iterator and Range
Version
1.1
Date
2018-1-9
Description
The strided iterator adapts multidimensional buffers to work with the C++ standard library and range-based for-loops. Given a pointer or iterator into a multidimensional data buffer, one can generate an iterator range using make_strided to construct strided versions of the standard library's begin and end. For constructing range-based for-loops, a strided_range class is provided. These help authors to avoid integer-based indexing, which in some cases can impede algorithm performance and introduce indexing errors. This library exists primarily to expose the header file to other R projects.
License
GPL (>= 2)
Imports
Rcpp (>= 0.12.13)
LinkingTo
Rcpp, BH
Suggests
knitr, rmarkdown, testthat, microbenchmark, ggplot2, dplyr, covr
VignetteBuilder
knitr
URL
BugReports
https://github.com/thk686/strider/issues
SystemRequirements
C++11
RoxygenNote
6.0.1
NeedsCompilation
yes
Packaged
2018-01-10 21:37:24 UTC; tkeitt
Author
Tim Keitt [aut, cre]
Maintainer
Tim Keitt
Repository
CRAN
Date/Publication
2018-01-10 21:54:11 UTC

install.packages('strider')

1.1

11 months ago

https://github.com/thk686/strider

Tim Keitt

GPL (>= 2)

Imports

Rcpp (>= 0.12.13)

Suggests

knitr, rmarkdown, testthat, microbenchmark, ggplot2, dplyr, covr

Discussions