<< or Operators power >>

plus


Addition, + operator


Syntax


C = plus(A, B)
C = A + B

Input argument


A

a variable

B

a variable

Output argument


C

result of A + B

Description


C = plus(A, B) performs addition A + B variables.

Examples


plus(3, 4)
3 + 4

[1, 2] + 1
plus([1, 2], 1)

ones(0, 0) + 1

See also


minus, uplus.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< or Operators power >>