tropseg: Compute Tropical Line Segment

Description Usage Arguments Value

View source: R/tropseg.R

Description

Compute Tropical Line Segment

Usage

1
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


Rtropical documentation built on Nov. 10, 2021, 1:07 a.m.