UnaryMathFunction
ptolemy.actor.lib.UnaryMathFunction

Produce an output token on each firing with a value that is equal to the specified math function of the input. The input and output types are DoubleToken. The functions are a subset of those in the java.lang.Math class. They are:



Author(s): C. Fong, Steve Neuendorffer
Version:$Id: UnaryMathFunction.java,v 1.12 2006/02/07 00:47:52 cxh Exp $
Pt.Proposed Rating:Yellow (neuendor)
Pt.Accepted Rating:Red (neuendor)




function
The function to compute. This is a string-valued attribute that defaults to "exp".