FunctionSymbol creates a Basic object with type FunctionSymbol. Function returns a generator.

Function(name)

FunctionSymbol(name, args)

Arguments

name

Name of the function symbol

args

Dependent symbols

Value

FunctionSymbol returns a Basic. Function returns a function that will return a Basic

See also

Examples

f <- Function("f") a <- Symbol("a") b <- Symbol("b") f(a, b)
#> (FunctionSymbol) f(a, b)
e <- f(a, f(a + b)) D(e, a)
#> (Add) Subs(Derivative(f(_xi_1), _xi_1), (_xi_1), (a + b))*Subs(Derivative(f(a, _xi_2), _xi_2), (_xi_2), (f(a + b))) + Subs(Derivative(f(_xi_1, f(a + b)), _xi_1), (_xi_1), (a))
FunctionSymbol("f", c(a,b))
#> (FunctionSymbol) f(a, b)