(*) symbolic multiplication operator
c: Mul( a, b ) c: a * b
symbolic object, double, or integer
symbolic object, double, or integer
symbolic variable
Returns the product c = a * b.
It is mandatory, that at least one of the operands a or b is a symbolic object.
// create symbolic variables a = %(Sym("-x+y-z")) b = %(Sym("x+z")); // product a * b a*b // product a * 1.23 a * 1.23 // product 5 * b int32(5) * b // clean up reset(); clear a b; | ![]() | ![]() |
SymEngine: C++ library for fast symbolic manipulation.