17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

make-rand om-state 334<br />

I<br />

: extension<br />

The amount by which to extend the plane. See the section "Planes"<br />

in Symbolics Common Lisp: Language Concepts.<br />

: initial-dimensions<br />

A list of dimensions for the initial creation of the plane. You might<br />

want to use this option to create a plane whose ill"st dimension is a<br />

multiple of 32, so you can use bitblt on it. The default is 1 in each<br />

dimension.<br />

: initial-origins<br />

A list of origins for the initial creation of the plane. The default is<br />

all zero.<br />

Example:<br />

(make-plane 2 :type sys:art-4b :default-value 3)<br />

creates a two-dimensional plane of type sys:art-4b, with default value 3.<br />

make-random-state &optional state Function<br />

Returns a new object of type random-state which the function random can<br />

use as its state argument.<br />

If state is nil or omitted, make-random-state returns a copy of the current<br />

random-number state object (the value of variable *random-state*).<br />

If state is a state object, a copy of that state object is returned.<br />

If state is t, the function returns a new state object that has been<br />

"randomly" initialized.<br />

Examples:<br />

(setq x (make-random-state» => #.(RANOOM-STATE 71 16954B6379 ... )<br />

;;; the value of x is now a random state<br />

(setq copy-x (make-random-state x» => #.(RANOOM-STATE 71 ... )<br />

;;; this makes a copy of random state x<br />

;;; a way to get reproducibly random numbers<br />

For a table of related items: See the section "Random Number Functions"<br />

in Symbolics Common Lisp: Language Concepts.<br />

make-raster-array width height &key make-array-options Function<br />

Makes rasters; this should be used instead of make-array when making arrays<br />

that are rasters. make-raster-array is similar to make-array, but<br />

make-raster-array takes width and height as separate arguments instead of<br />

taking a single dimensions argument. If the raster is to be used with<br />

bitblt, the width times the number of bits per array element must be a<br />

multiple of 32.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!