Learn R Programming

tropAlgebra (version 0.1.0)

add: Sum(+): Tropical Algebra Function

Description

It takes two parameters(numeric) in X and y and returns the tropical sum of these numbers e.g. x + y=minimum(x,y).

Usage

add(x,y)

Arguments

x

A numeric value

y

A numeric value

Value

Tropical sum of x and y

Details

It takes two parameters(numeric) in X and y and returns the tropical sum of these numbers e.g. x + y=minimum(x,y).

Examples

Run this code
# NOT RUN {
add(1,2)
# }

Run the code above in your browser using DataLab