tropseg: Compute Tropical Line Segment

View source: R/tropseg.R

tropsegR 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


HoujieWang/Rtropical documentation built on May 18, 2022, 11:56 a.m.