powered by
This function calculates the tropical determinant (or singularity) of a square matrix
tdets(P, tadd = max)
list containing the value of the determinant and reordered matrix P
matrix of points defining a tropical polytope. Rows are the points
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max
David Barnhill david.barnhill@nps.edu
P<-matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE) tdets(P) tdets(P,tadd=min)
Run the code above in your browser using DataLab