Description Usage Arguments Details Value See Also Examples
tropicalsparse.axpyi
function multiplies the vector x
by the constant alpha
and adds the result to the vector y
.
1 | tropicalsparse.axpyi(y, alpha, x, algebraType)
|
y |
is a vector. |
alpha |
is a constant. |
x |
is a vector. |
algebraType |
is string input that can be |
The input of the function tropicalsparse.axpyi
is two vectors, a constant and type of Tropical
Algebra. algebraType
is used to specify type of Tropical Algebra. This can be minplus
or
maxplus
. For more details about algebraType
, see detail
section of
check.infinityM
or check.infinityV
. All inputs of this method are compulsory. The
operation is expressed as: y = y + alpha * x where x
and y
must be a vector while alpha
must be a constant.
Returns a vector.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.