Learn R Programming

TML (version 2.3.0)

normalize: 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)

Value

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

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

Author

Ruriko Yoshida ryoshida@nps.edu

Examples

Run this code
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)

Run the code above in your browser using DataLab