tests/testthat/test-general_hilbert_transport.R

# test_that("multiplication works", {
#   set.seed(234234)
#   n1 <- 100
#   n2 <- 197
#   d<- 10
#   
#   x <- matrix(rnorm(n1*d),n1,d)
#   y <- matrix(rnorm(n2*d),n2,d)
#   
#   general_hilbert_transport(t(x), t(y))
# })

Try the approxOT package in your browser

Any scripts or data that you put into this service are public.

approxOT documentation built on May 29, 2024, 3:12 a.m.