PLUS PLUS Overloaded Addition Operator Usage This is a method that is invoked when two variables are added and is invoked when you call c = plus(a,b) or for c = a + b PLUS PLUS Addition Operator Usage Adds two numerical arrays (elementwise) together. There are two forms for its use, both with the same general syntax: y = a + b where a and b are n-dimensional arrays of numerical type. In the first case, the two arguments are the same size, in which case, the output y is the same size as the inputs, and is the element-wise the sum of a and b. In the second case, either a or b is a scalar, in which case y is the same size as the larger argument, and is the sum of the scalar added to each element of the other argument. The type of y depends on the types of a and b using the type promotion rules. The types are ordered as: 1. uint8 - unsigned, 8-bit integers range [0,255] 2. int8 - signed, 8-bit integers [-127,128] 3. uint16 - unsigned, 16-bit integers [0,65535] 4. int16 - signed, 16-bit integers [-32768,32767] 5. uint32 - unsigned, 32-bit integers [0,4294967295] 6. int32 - signed, 32-bit integers [-2147483648,2147483647] 7. float - 32-bit floating point 8. double - 64-bit floating point 9. complex - 32-bit complex floating point 10. dcomplex - 64-bit complex floating point Note that the type promotion and combination rules work similar to C. Numerical overflow rules are also the same as C.