normalize {TML}R Documentation

Normalize a point or set of points in the tropical projective torus

Description

This function normalizes a point or set of points in the tropical projective torus by making the first coordinate zero

Usage

normaliz.vector(D)

normaliz.vectors(D)

normaliz.polytope(D)

normaliz.ultrametrics(D)

Arguments

D

numeric vector in the tropical projective torus or a matrix of points in the tropical projective torus; for matrices, rows are the points

Value

a single or set of normalized points with the first coordinate zero

Author(s)

Ruriko Yoshida ryoshida@nps.edu

Examples

D <-c(8,4,2)
normaliz.vector(D)

P <-matrix(c(8,4,2,10,1,3,7,2,1),3,3,TRUE)
normaliz.vectors(P)

M<-matrix(c(2,2,2,3,6,4,2,4,7),3,3,TRUE)
normaliz.polytope(M)

M <- Sim_Trees15[1:3,]
normaliz.ultrametrics(M)


[Package TML version 1.2.0 Index]