Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

symengine (version 0.2.10)

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