expand: Expand a Symbolic Expression

View source: R/ops.R

expandR Documentation

Expand a Symbolic Expression

Description

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

Usage

expand(x)

Arguments

x

A Basic/VecBasic/DenseMatrix S4 object.

Value

Same type as input.

Examples

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

Marlin-Na/symengine.R documentation built on May 1, 2022, 9:43 a.m.