ot: Compute OT between identical uniform distributions

View source: R/aux-fcns.R

otR Documentation

Compute OT between identical uniform distributions

Description

Compute transport map between U(1,...,n-p) and U(1,...,n-p) where C(i, j) = norm difference of pre, i and post, j where i and j are between 1 and n-p.

Usage

ot(pre, post, params = list(OutputFlag = 0), method = "gurobi")

Details

We use Gurobi to solve the OT problem if method is "gurobi". We use the transport package to solve the OT problem if method is "transport".


omkarakatta/ivqr documentation built on Aug. 20, 2022, 11:04 p.m.