tmultiply {tropAlgebra}R Documentation

Tropical Product Function

Description

The tropical product of two numbers is the odinary sum of numbers. This function returns the tropical product of arguments. If arguments are not numeric values then it generates an error. If a vector is passed as argument to the funcion it will return the tropical product of all the elements in the vector.

Usage

tmultiply(...)

Arguments

...

Any number of numeric values or a single vector.

Details

The tropical product of two numbers is the oridnary sum of numers. This function returns the tropical product of arguments. If arguments are not numeric values then it generates an error.

Value

Returns tropical product of arguments.

Examples

 x<-6
 y<-5
 tmultiply(x,y)

[Package tropAlgebra version 0.1.1 Index]