tropdet: Tropical Determinant of a Matrix

View source: R/tropdet.R

tropdetR Documentation

Tropical Determinant of a Matrix

Description

Compute the tropical determinant for a given matrix. This is equivalent to solving an assignment problem.

Usage

tropdet(x)

Arguments

x

a square matrix

Value

The determinant of the given matrix,

Examples

R <- matrix(sample(1:9, 9), nrow = 3)
tropdet(R)

HoujieWang/Rtropical documentation built on May 18, 2022, 11:56 a.m.