Macaulay2 » Documentation
Packages » SLPexpressions :: isConstant(InputGate)
next | previous | forward | backward | up | index | toc

isConstant(InputGate) -- whether an input gate is constant

Synopsis

Description

An input gate is constant if its Name is either a Number or a RingElement.

i1 : declareVariable X

o1 = X

o1 : InputGate
i2 : isConstant X

o2 = false
i3 : isConstant 3

o3 = true

See also

Ways to use this method: