name function

Variable, Parameter, or Expression Name

Variable, Parameter, or Expression Name

The string representation of a variable, parameter, or expression. methods

name(x)

Arguments

  • x: A Variable , Parameter , or Expression object.

Returns

For Variable or Parameter objects, the value in the name slot. For Expression objects, a string indicating the nested atoms and their respective arguments.

Examples

x <- Variable() y <- Variable(3, name = "yVar") name(x) name(y)
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07