<< Diff SYMSCI Toolbox Evalf >>

SYMSCI Toolbox >> SYMSCI Toolbox > Div

Div

(/) symbolic division operator

Syntax

c = Div( a, b )
c = a / b

Arguments

a, b

symbolic, double, or integer

c

symbolic

Description

Returns the quotient 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.

Examples

// create symbols
Syms a b

// quotient a / b
a/b

// quotient a / 1.23
a/1.23

// quotient 5 / b
int32(5)/b

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Diff SYMSCI Toolbox Evalf >>