tvectotMatrixProduct: Tropical Vector Matrix Product

Description Usage Arguments Details Value Examples

Description

This function returns a vector in result of vector matrix tropical product.This function works only if length of vector equal to number of columns of matrix.

Usage

1

Arguments

Y

A numeric matrix.

x

A numeric vector.

Details

If the given argument x is not a numeric vector or argument Y is not a numeric matrix and the length of vector is not equal to the number of columns of matrix then the function generates an error.

Value

Returns the tropical product of vectror x and matrix Y.

Examples

1
2
3
x<-c(1,2,3)
Y<-matrix(c(1,2,3,4,5,6,1,2,3), nrow = 3, ncol = 3)
tvectotMatrixProduct(Y,x)

tropAlgebra documentation built on May 2, 2019, 7:29 a.m.