Next: Constructing and Modifying Up: Selected Listing of Previous: Selected Listing of

## Arithmetic and Logical Functions

• (+ &rest numbers) [Function]

Returns the sum of its arguments. With no args, returns 0. Vectorized.

• (- number &rest more-numbers) [Function]

Subtracts the second and all subsequent NUMBERs from the first. With one arg, negates it. Vectorized.

• (* &rest numbers) [Function]

Returns the product of its arguments. With no args, returns 1. Vectorized.

• (/ number &rest more-numbers) [Function]

Divides the first NUMBER (element-wise) by each of the subsequent NUMBERS. With one arg, returns its reciprocal. Vectorized.

• (hfill base-number power-number) [Function]

Returns BASE-NUMBER raised to the power POWER-NUMBER. Vectorized.

• (** base-number power-number) [Function]

Returns BASE-NUMBER raised to the power POWER-NUMBER. Vectorized.

• (< &rest numbers) [Function]

Returns T if NUMBERS are in strictly increasing order; NIL otherwise. Vectorized.

• (<= &rest numbers) [Function]

Returns T if NUMBERS are in nondecreasing order; NIL otherwise. Vectorized.

• (= &rest numbers) [Function]

Returns T if NUMBERS are all equal; NIL otherwise. Vectorized.

• (/= &rest numbers) [Function]

Returns T if NUMBERS no two adjacent numbers are equal; NIL otherwise. Vectorized.

• (>= &rest numbers) [Function]

Returns T if NUMBERS are in nonincreasing order; NIL otherwise. Vectorized.

• (> &rest numbers) [Function]

Returns T if NUMBERS are in strictly decreasing order; NIL otherwise. Vectorized.

• (abs number) [Function]

Returns the absolute value or modulus of NUMBER. Vectorized.

• (acos number) [Function]

Returns the arc cosine of NUMBER. Vectorized.

• (asin number) [Function]

Returns the arc sine of NUMBER. Vectorized.

• (atan number) [Function]

Returns the arc tangent of NUMBER. Vectorized.

• (ceiling number) [Function]

Returns the smallest integer(s) not less than or NUMBER. Vectorized.

• (complex realpart &optional (imagpart 0)) [Function]

Returns a complex number with the given real and imaginary parts.

• (conjugate number) [Function]

Returns the complex conjugate of NUMBER.

Returns the cosine of RADIANS. Vectorized.

• (exp x) [Function]

Calculates e raised to the power x, where e is the base of natural logarithms. Vectorized.

• (expt base-number power-number) [Function]

Returns BASE-NUMBER raised to the power POWER-NUMBER. Vectorized.

• (float number) [Function]

Converts real number to a floating-point number. If NUMBER is already a float, FLOAT simply returns NUMBER. Vectorized.

• (floor number) [Function]

Returns the largest integer( not larger than the NUMBER. Vectorized.

• (imagpart number) [Function]

Extracts the imaginary part of NUMBER.

• (log number) [Function]

Returns the natural logarithm(s) of NUMBER. Vectorized.

• (log-gamma x) [Function]

Returns the log gamma function of X. Vectorized.

• (max number &rest more-numbers) [Function]

Returns the greatest of its arguments. Vector reducing

• (min number &rest more-numbers) [Function]

Returns the least of its arguments. Vector reducing

• (phase number) [Function]

Returns the angle part of the polar representation of a complex number. For non-complex numbers, this is 0.

• (pmax &rest items) [Function]

Parallel maximum of ITEMS. Vectorized.

• (pmin &rest items) [Function]

Parallel minimum of ITEMS. Vectorized.

• (prod &rest number-data) [Function]

Returns the product of all the elements of its arguments. Returns 1 if there are no arguments. Vector reducing.

• (random number) [Function]

Generates a uniformly distributed pseudo-random number between zero (inclusive) and NUMBER (exclusive). Vectorized.

• (realpart number) [Function]

Extracts the real part of NUMBER.

• (rem x y) [Function]

Returns the remainder of dividing x by y. Vectorized.

• (round number) [Function]

Rounds NUMBER to nearest integer. Vectorized.

Returns the sine of RADIANS. Vectorized.

• (sqrt number) [Function]

Returns the square root of NUMBER. Vectorized.

• (sum &rest number-data) [Function]

Returns the sum of all the elements of its arguments. Returns 0 if there are no arguments. Vector reducing.

Returns the tangent of RADIANS. Vectorized.

• (truncate number) [Function]

Returns real NUMBER as an integer, rounded toward 0. Vectorized.

Next: Constructing and Modifying Up: Selected Listing of Previous: Selected Listing of

Luke Tierney
Tue Jan 21 15:04:48 CST 1997