Skip to contents

A step of the RcppExports implementation. No other function in the package calls it. See the file header for the source the module follows.

Arguments

X_t

Passed to .Call.

X_c

Passed to .Call.

S_inv

Passed to .Call.

Value

The value of .Call.

Examples

X_t <- rbind(c(0, 0), c(1, 1)); X_c <- rbind(c(0, 1), c(2, 2), c(1, 0))
morie_matching_mahalanobis_pairs_cpp(X_t, X_c, S_inv = diag(2))   # Euclidean when S = I
#>      [,1]     [,2] [,3]
#> [1,]    1 2.828427    1
#> [2,]    1 1.414214    1