Cond
Cond may refer to:
- Condition number, in numerical analysis
-
cond
, a conditional expression in LISP, an example showing the signum function that returns -1 for a negative number, 0 for 0 and 1 for a positive number in LISP:[1]
(cond
((minusp testnumber) -1)
((zerop testnumber) 0)
(t 1)
)
- Cond, a variant spelling of conn meaning to control a ship's movements at sea.
- predicates are evaluated one at a time until one evaluates to true ,the expression that follows the first predicate to be true is then returned as the value of cond.
References
This article is issued from Wikipedia - version of the Sunday, December 13, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.