Skip to content

ThibHlln/myTestLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myTestLib

A testing library to understand bugs using xtensor-r

Build and install

$ mamba create -n r-env cxx-compiler r=4.2 r-rcpp
$ mamba activate r-env
$ git clone https://github.com/ThibHlln/myTestLib.git --recursive
$ R CMD INSTALL --preclean --no-multiarch --with-keep.source myTestLib

Use

$ R
> library(myTestLib)
> q = array(
.   data=rep(c(0.6), 10 * 2 * 11 * 2080),
.   dim=c(10, 2, 11, 2080)
. )
> myTestLib::sort_rtensor_cpp(q)
> myTestLib::sort_rarray_cpp(q)

About

R library to test behaviour of `xtensor-r`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published