- fix package loading on CRAN's Debian clang r-devel check by conditionally
linking
libatomicwhen the C++ atomic compare/exchange runtime helper is required. - add
src/Makevars.win, sinceconfigureis not run on Windows, and acleanupscript to remove thesrc/Makevarsgenerated byconfigure. The generatedsrc/Makevarsis no longer shipped in the package sources.
Full Changelog: https://github.com/natverse/natcpp/compare/v0.3.0...v0.3.1
- add weighted Jaccard similarity functions for sparse data
c_weighted_jaccard_sparse()returns a sparse similarity (or distance) matrixc_weighted_jaccard_dense()returns a dense matrix or adist-layout vector- both run in parallel via RcppThread, with an optional progress bar (RcppProgress)
triangle=switches between symmetric upper-triangle output and a full matrixdistance=returns1 - similarity
- portable
src/Makevarsusing$(SHLIB_OPENMP_CXXFLAGS)in place of a GNU make$(shell ...)callout toRcppThread::LdFlags()
Full Changelog: https://github.com/natverse/natcpp/compare/v0.2...v0.3.0
- add fast coordinate / index conversion functions in #2
c_coords21dindex()c_ijkpos()c_sub2ind()to makenat::coord2ind()and friends much more memory efficient
Full Changelog: https://github.com/natverse/natcpp/compare/v0.1.1...v0.2
- adds
c_ListofMatrixRows()
- First version of the package with basic functions for manipulating segment lists and calculating cable lengths.