Description Usage Arguments Details Value Examples
This funciton sums two matrices(first matrix scaled by alpha, if user doesnt't pass alpha first matrix will not be scalled) and return the resultant matrix.This function works only if both matrices are numeric and of same size, and alpha is a numeric value.
1 | tmatrixAdd(x,y,alpha=0)
|
x |
A numeric Matrix. |
y |
A numeric Matrix. |
alpha |
A numeric value. |
If either the size of both matrices is not same or if any one or both matrices are not numeric matrix or alpha is not a numeric value then it will generates an error.
Returns the tropical sum of x(scalled by alpha) and y.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.