Next: , Previous: Mathematics, Up: Mathematics


2.1 Generic Functions

Generic mathematical functions are provided so that they may be called on something other than numbers, such as grids. When called with CL numbers, they perform they call the equivalent CL function.

— Generic Function: antik:abs num

The absolute value.

— Generic Function: antik:acos arg

The arccosine of the generalized or regular number.

— Generic Function: antik:asin arg

The arcsine of the generalized or regular number.

— Generic Function: antik:atan num &optional den default zero-enough

The arctangent of the generalized or regular number. If absolute value of the arguments are below zero-enough, default is returned.

— Generic Function: antik:cosh num

The hyperbolic cosine of the generalized or regular number.

— Generic Function: antik:cos num

The cosine of the generalized or regular number.

— Generic Function: antik:= a b

Numeric equal

— Generic Function: antik:exp num

The natural exponent e^num of the generalized or regular number.

— Generic Function: antik:expt num exponent

Raise the number to the exponent.

— Generic Function: antik:floor number &optional divisor

Greatest multiple of divisor less than number.

— Generic Function: antik:>= a b

Greater than or equal.

— Generic Function: antik:> a b

Greater than

— Generic Function: antik:log num &optional base

The natural logarithm of the generalized or regular number.

— Generic Function: antik:<= a b

Less than or equal.

— Generic Function: antik:< a b

Less than.

— Generic Function: antik:minusp a

Negative

— Generic Function: antik:plusp a

Positive.

— Function: antik:+ &rest args

Addition of generalized or regular numbers with an arbitrary number of arguments.

— Generic Function: antik:round number &optional divisor

Nearest multiple of divisor to number.

— Generic Function: antik:signum a

Signum(a).

— Generic Function: antik:sinh num

The hyperbolic sine of the generalized or regular number.

— Generic Function: antik:sin num

The sine of the generalized or regular number.

— Function: antik:/ &rest args

Division of generalized or regular numbers for an arbitrary number of arguments.

— Function: antik:sqrt num

The square root of the generalized or regular number.

— Function: antik:* &rest args

Multiplication of generalized or regular numbers with an arbitrary number of arguments.

— Generic Function: antik:tanh num

The hyperbolic tangent of the generalized or regular number.

— Generic Function: antik:tan num

The tangent of the generalized or regular number.

— Function: antik:- &rest args

Subtraction of generalized or regular numbers.

— Generic Function: antik:zerop a

Zero.