Learn R Programming

symengine (version 0.2.10)

Function: Create a FunctionSymbol

Description

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

Usage

Function(name)

FunctionSymbol(name, args)

Value

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

Arguments

name

Name of the function symbol

args

Dependent symbols

See Also

S

Examples

Run this code
f <- Function("f")
a <- Symbol("a")
b <- Symbol("b")
f(a, b)
e <- f(a, f(a + b))
D(e, a)
FunctionSymbol("f", c(a,b))

Run the code above in your browser using DataLab