<< Diag SYMSCI Toolbox Div >>

SYMSCI Toolbox >> SYMSCI Toolbox > Diff

Diff

differentiate symbolic expressions

Syntax

d = Diff( f, x, n = 0 )

Arguments

f

symbolic matrix

x

symbolic

n

non-negative integer

Description

Returns the n-th derivative d of expressions f with respect to a symbol x.

Examples

// symbol x
x = Sym("x")

// some expressions
a = Sym("f(x)")
b = Sym("x^x")
c = Sym("x*log(x)")
d = Sym("y*x + z")

// matrix of expressions
A = [ a, b; c, d ]

// some derivatives
Diff(a,x)
Diff(b,x)
Diff(A,x)
Diff(A,x,2)

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Diag SYMSCI Toolbox Div >>