lispdoc - results for array |
array | Undocumented
|
Example:(defun maybe-set-fill-pointer (array new-length) "If this is an array with a fill pointer, set it to new-length, if that is longer than the current length." (if (and (arrayp array) (array-has-fill-pointer-p array)) (setf (fill-pointer array) (max (fill-pointer array) new-length)))) | Mentioned in: CLtL2 - 10.1. The Property List CLtL2 - 17.1. Array Creation CLtL2 - 17.4. Functions on Arrays of Bits CLtL2 - 18. Strings CLtL2 - 19.5. Defstruct Options CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 2.5. Arrays CLtL2 - 2.5.1. Vectors CLtL2 - 25.1.4. Similarity of Constants CLtL2 - 28.1.4. Integrating Types and Classes CLtL2 - 4.5. Type Specifiers That Specialize CLtL2 - 4.7. Defining New Type Specifiers CLtL2 - 4.8. Type Conversion Function CLtL2 - 4.9. Determining the Type of an Object CLtL2 - 6.2.1. General Type Predicates HyperSpec - 15.1 Array Concepts HyperSpec - 15.1.1 Array Elements HyperSpec - 15.1.1.1 Array Indices HyperSpec - 15.1.1.2 Array Dimensions HyperSpec - 15.1.1.2.1 Implementation Limits on Individual Array Dimensions HyperSpec - 15.1.1.3 Array Rank HyperSpec - 15.1.1.3.2.2 Implementation Limits on Array Rank HyperSpec - 15.1.2.1 Array Upgrading HyperSpec - System Class ARRAY Successful Lisp - chapter22 |
(arrayp object) | Function: Return true if OBJECT is an ARRAY, and NIL otherwise.
|
Example:(defun maybe-set-fill-pointer (array new-length) "If this is an array with a fill pointer, set it to new-length, if that is longer than the current length." (if (and (arrayp array) (array-has-fill-pointer-p array)) (setf (fill-pointer array) (max (fill-pointer array) new-length)))) | Mentioned in: CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function ARRAYP |
arrays | |
| Mentioned in: HyperSpec - 15.1.1.3.2 Multidimensional Arrays HyperSpec - 15.1.1.3.2.1 Storage Layout for Multidimensional Arrays HyperSpec - 15.1.2 Specialized Arrays HyperSpec - 15.1.2.2 Required Kinds of Specialized Arrays HyperSpec - 15.2 The Arrays Dictionary HyperSpec - 16.1.1 Implications of Strings Being Arrays HyperSpec - 18.1.2.3.2 Visible Modification of Arrays with respect to EQUALP HyperSpec - 22.1.3.8 Printing Other Arrays HyperSpec - 22.1.3.9 Examples of Printing Arrays | |
(make-array dimensions &key (element-type t) (initial-element nil initial-element-p) (initial-contents nil initial-contents-p) adjustable fill-pointer displaced-to displaced-index-offset) | Undocumented
|
Example:(defun new-buf (len) (make-buf :vec (make-array len))) | Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 17.3. Array Information CLtL2 - 17.6. Changing the Dimensions of an Array CLtL2 - 18.3. String Construction and Manipulation CLtL2 - 2.5. Arrays CLtL2 - 22.1.4. Standard Dispatching Macro Character Syntax CLtL2 - 22.1.6. What the Print Function Produces CLtL2 - 4.5. Type Specifiers That Specialize CLtL2 - 5.2.2. Lambda-Expressions CLtL2 - 6.2.1. General Type Predicates HyperSpec - Function MAKE-ARRAY PCL - subtypes of vector PCL - the database PCL - vectors PCL - whole sequence manipulations Successful Lisp - chapter24 Successful Lisp - characters |
(array-rank array) | Function: Return the number of dimensions of ARRAY.
|
| Mentioned in: CLtL2 - 17.3. Array Information CLtL2 - 25.1.4. Similarity of Constants HyperSpec - Function ARRAY-RANK | |
(adjust-array array dimensions &key (element-type (array-element-type array)) (initial-element nil initial-element-p) (initial-contents nil initial-contents-p) fill-pointer displaced-to displaced-index-offset) | Function: Adjust ARRAY's dimensions to the given DIMENSIONS and stuff.
|
| Mentioned in: CLtL2 - 17.3. Array Information CLtL2 - 17.5. Fill Pointers CLtL2 - 17.6. Changing the Dimensions of an Array CLtL2 - 7.9. Structure Traversal and Side Effects HyperSpec - Function ADJUST-ARRAY PCL - hash table iteration | |
simple-array | Undocumented
|
| Mentioned in: CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 25.1.4. Similarity of Constants CLtL2 - 4.8. Type Conversion Function CLtL2 - 6.2.1. General Type Predicates HyperSpec - Type SIMPLE-ARRAY | |
*print-array | |
| Mentioned in: HyperSpec - Variable *PRINT-ARRAY | |
*print-array* | Variable: Should the contents of arrays be printed?
|
| Mentioned in: CLtL2 - 22.1.6. What the Print Function Produces CLtL2 - 22.3.1. Output to Character Streams CLtL2 - 28.2. Functions in the Programmer Interface | |
(array-dimension array axis-number) | Function: Return the length of dimension AXIS-NUMBER of ARRAY.
|
| Mentioned in: CLtL2 - 17.3. Array Information CLtL2 - 17.5. Fill Pointers CLtL2 - 25.1.4. Similarity of Constants HyperSpec - Function ARRAY-DIMENSION | |
(array-dimensions array) | Function: Return a list whose elements are the dimensions of the array
|
| Mentioned in: CLtL2 - 17.3. Array Information HyperSpec - Function ARRAY-DIMENSIONS | |
(array-displacement array) | Function: Return the values of :DISPLACED-TO and :DISPLACED-INDEX-offset options to MAKE-ARRAY, or NIL and 0 if not a displaced array.
|
| Mentioned in: HyperSpec - Function ARRAY-DISPLACEMENT | |
array-rank-limit | Variable: the exclusive upper bound on the rank of an array
|
| Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 17.3. Array Information CLtL2 - 2.5. Arrays HyperSpec - Constant Variable ARRAY-RANK-LIMIT | |
(array-total-size array) | Function: Return the total number of elements in the Array.
|
| Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 17.3. Array Information HyperSpec - Function ARRAY-TOTAL-SIZE | |
(adjustable-array-p array) | Function: Return T if (ADJUST-ARRAY ARRAY...) would return an array identical to the argument, this happens for complex arrays.
|
| Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 17.3. Array Information CLtL2 - 17.5. Fill Pointers CLtL2 - 17.6. Changing the Dimensions of an Array HyperSpec - Function ADJUSTABLE-ARRAY-P | |
(array-element-type array) | Function: Return the type of the elements of the array
|
Example:(defun nsubseq (sequence start &optional (end (length sequence))) "Return a subsequence by pointing to location in original sequence." (make-array (- end start) :element-type (array-element-type sequence) :displaced-to sequence :displaced-index-offset start)) | Mentioned in: CLtL2 - 17.3. Array Information CLtL2 - 25.1.4. Similarity of Constants CLtL2 - 4.5. Type Specifiers That Specialize HyperSpec - Function ARRAY-ELEMENT-TYPE |
(alexandria.0.dev:copy-array array &key (element-type (array-element-type array)) (fill-pointer (and (array-has-fill-pointer-p array) (fill-pointer array))) (adjustable (adjustable-array-p array))) | Function: Returns an undisplaced copy of ARRAY, with same fill-pointer and adjustability (if any) as the original, unless overridden by the keyword arguments. Performance depends on efficiency of general ADJUST-ARRAY in the host lisp -- for most cases a special purpose copying function is likely to perform better.
|
alexandria.0.dev:array-index | Type: Type designator for an index into array of LENGTH: an integer between 0 (inclusive) and LENGTH (exclusive). LENGTH defaults to ARRAY-DIMENSION-LIMIT.
|
alexandria.0.dev:array-length | Type: Type designator for a dimension of an array of LENGTH: an integer between 0 (inclusive) and LENGTH (inclusive). LENGTH defaults to ARRAY-DIMENSION-LIMIT.
|
array-dimension-limit | Variable: the exclusive upper bound on any given dimension of an array
|
| Mentioned in: CLtL2 - 12.10 Implementation Parameters CLtL2 - 14.1. Simple Sequence Functions CLtL2 - 17.1. Array Creation CLtL2 - 18.3. String Construction and Manipulation CLtL2 - 2.1.1. Integers HyperSpec - Constant Variable ARRAY-DIMENSION-LIMIT | |
(array-in-bounds-p array &rest subscripts) | Function: Return T if the SUBSCRIPTS are in bounds for the ARRAY, NIL otherwise.
|
| Mentioned in: CLtL2 - 17.3. Array Information HyperSpec - Function ARRAY-IN-BOUNDS-P | |
(array-row-major-index array &rest subscripts) | Undocumented
|
| Mentioned in: CLtL2 - 17.3. Array Information HyperSpec - Function ARRAY-ROW-MAJOR-INDEX | |
array-total-size-limit | Variable: the exclusive upper bound on the total number of elements in an array
|
| Mentioned in: CLtL2 - 17.1. Array Creation HyperSpec - Constant Variable ARRAY-TOTAL-SIZE-LIMIT Successful Lisp - chapter18 | |
(upgraded-array-element-type spec &optional environment) | Function: Return the element type that will actually be used to implement an array with the specifier :ELEMENT-TYPE Spec.
|
| Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 4.10. Type Upgrading CLtL2 - 4.5. Type Specifiers That Specialize HyperSpec - Function UPGRADED-ARRAY-ELEMENT-TYPE | |
(array-has-fill-pointer-p array) | Function: Return T if the given ARRAY has a fill pointer, or NIL otherwise.
|
Example:(defun maybe-set-fill-pointer (array new-length) "If this is an array with a fill pointer, set it to new-length, if that is longer than the current length." (if (and (arrayp array) (array-has-fill-pointer-p array)) (setf (fill-pointer array) (max (fill-pointer array) new-length)))) | Mentioned in: CLtL2 - 17.5. Fill Pointers HyperSpec - Function ARRAY-HAS-FILL-POINTER-P |
(cl-base64:usb8-array-to-base64-stream input output &key (uri nil) (columns 0)) | Function: Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
|
(cl-base64:base64-string-to-usb8-array input &key (uri nil)) | Function: Decode base64 string to usb8-array
|
cl-base64:base64-stream-to-usb8-array | Undocumented
|
(cl-base64:usb8-array-to-base64-string input &key (uri nil) (columns 0)) | Function: Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |