Maxplus Function

maxplus - (#) maxplus type constructor

Calling Sequence

B=maxplus(A)

Parameters

Description

Sets the type to maxplus-full if A is full or maxplus-sparse if A is sparse.

Many of the standard operators and functions have a maxplus analogue which overloads the standard operator and which is not documented.

When one applies a standard operator or a function, which has a meaning in the maxplus algebra, with at least one argument of maxplus type, the operator is interpreted in the maxplus sense and the result has a maxplus type.

The internal numper type of a full maxplus matrix or constant is 257. The internal type number of a sparse matix is 261.

The overloading of maxplus function is obtained by adding the prefix %talg_ to the corresponding standard name in the definition of the function. If %talg_tutu(A) has been defined, tutu(A) with A a full maxplus matrix calls %talg_tutu(A). For sparse maxplus matrix the prefix is %mps_ .

EXAMPLES

See Also