BG_cpp {expperm}R Documentation

The Brualdi-Gibson method for computing an expected permutation matrix using C++

Description

Computes the expected permutation matrix and marginal likelihood from a tridiagonal matrix of assignment likelihoods using the Brualdi-Gibson method.

Usage

BG_cpp(A)

Arguments

A

A tridiagonal matrix of assignment likelihoods.

Value

E(P), the expected permutation matrix corresponding to A.

Examples

data(triA)
BG_cpp(triA)

[Package expperm version 1.6 Index]