Learn R Programming

symengine (version 0.2.6)

expand: Expand a Symbolic Expression

Description

This function takes a SymEngine object and return its expanded form.

Usage

expand(x)

Value

Same type as input.

Arguments

x

A Basic/VecBasic/DenseMatrix S4 object.

Examples

Run this code
expr <- S(~ (x + y) ^ 3)
expand(expr)

Run the code above in your browser using DataLab