Description Usage Arguments Details Value See Also Examples
check.infinityM
checks infinite value in a matrix based on algebraType
input.
1 | check.infinityM(M, algebraType)
|
M |
is matrix. |
algebraType |
is string input that can be |
The input of this function is a matrix and type of tropical algebra. A matrix may contain infinite
values that can be positive or negative. Both the positive and negative infinite values works differently on
each algebra type. Due to the difference between minplus
and maxplus
tropical algebra, it is
important to manage them so they can work in their own bounderies. In minplus
-Inf cannot be used while in
maxplus
Inf cannot be used. So the main purpose of this funnction is to check such possibilities that can
cause errors. If this function finds a -Inf in the matrix and the type of algebra is minplus
then the
function generates an error. Similarly, if the function finds a Inf in the matrix and the type of algebra is
maxplus
then the function also generates an error.
Returns nothing but generates an error if specific conditions met.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.