tropseg {Rtropical}R Documentation

Compute Tropical Line Segment

Description

Compute Tropical Line Segment

Usage

tropseg(D1, D2, flag = FALSE)

Arguments

D1

a vector of length 2.

D2

a vector of length 2.

flag

a logical value indicating if to swap D1 and D2. (default: FALSE)

Value

A list containing the following:

1

End points as columns of each line component.

2

Overall length of the tropical line segment


[Package Rtropical version 1.2.1 Index]