## eval_unary

one of the documented procedures in this
installation of the ACS

Usage:
**eval_unary** * f x *

What it does:

Evaluates f x. f can also be an operator.

Defined in: **/web/philip/tcl/ad-functional.tcl**
Source code:

if { [regexp \[a-z\] $f match] } {
# Seems that "f" is a function (because the name contains letters).
eval "$f {$x}"
} else {
# Seems that "f" is something like "1+" or "42==".
expr $f $x
}

philg@mit.edu