Operations that we are performing here, (Here, x and y are the matrices)...
| Operations |
Function |
Operator |
| Adding matrix elements |
add(x,y) |
x+y |
| Subtracting matrix elements |
subtract(x,y) |
x-y |
| Multiplying matrix elements |
multiply(x,y) |
x*y |
| Dividing matrix elements |
divide(x,y) |
x/y |
| Product of the matrices |
dot(x,y) |
--- |
| Square root of the matrix elements |
sqrt(x) |
---
|
Example:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer