(+) symbolic addition operator
c = Add( a, b ) c = a + b
symbolic, double, or integer
symbolic
Returns the sum c = a + b.
It is mandatory, that at least one of the operands a or b is symbolic. Double and integer arguments are converted automatically to a symbolic representation, before the operation is carried out.
// create symbols Syms a b // sum a + b a + b // add a double a + 1.23 // add an integer int32(5) + b | ![]() | ![]() |
SymEngine: C++ library for fast symbolic manipulation.