This is the listoflist Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 05:56:52 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
Modules are listed depth-first from the system components tree.
listoflist/src
listoflist
(system).
package.lisp
(file).
listoflist.lisp
(file).
listoflist/unittest
src
(module).
listoflist
(system).
unittests.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
listoflist/listoflist.asd
listoflist/src/package.lisp
listoflist/src/listoflist.lisp
listoflist/unittest/unittests.lisp
listoflist/src/listoflist.lisp
package.lisp
(file).
src
(module).
equal-listoflist
(function).
listoflist->array
(function).
listoflistp
(function).
sublists-of-same-size-p
(function).
transpose-listoflist
(function).
array->listoflist
(function).
carray*-lol
(function).
carray-lol
(function).
cvector*-lol
(function).
fill-array-with-list
(function).
listoflists-dimensions
(function).
listsoflists-consistent-dimensions-p
(function).
numeric-type-classifier
(function).
Packages are listed by definition order.
listoflist-unittests
unit-testing structure for LISTOFLIST using LIFT.
lol-unittests
listoflist-test
clunit
.
common-lisp
.
listoflist
.
xarray
.
listoflist
XARRAY support for list-of-list data structures.
lol
common-lisp
.
xarray
.
equal-listoflist
(function).
listoflist->array
(function).
listoflistp
(function).
sublists-of-same-size-p
(function).
transpose-listoflist
(function).
array->listoflist
(function).
carray*-lol
(function).
carray-lol
(function).
cvector*-lol
(function).
fill-array-with-list
(function).
listoflists-dimensions
(function).
listsoflists-consistent-dimensions-p
(function).
numeric-type-classifier
(function).
listoflist-user
verification, sandbox, and illustration package for LISTOFLIST.
lol-user
common-lisp
.
listoflist
.
xarray
.
Definitions are sorted by export status, category, package, and then by lexicographic order.
FIXME: This function, when written, should walk through 2 listoflists and return T/nil based on equality.
From a listoflists structure, make an array.
FIXME: need to verify that the listoflists is a valid structure (same
size rows, typing if required, etc.
<example>
(defparameter *mdfl-test*
(list (list ’a 1 2.1)
(list ’b 2 1.1)
(list ’c 1 2.0)
(list ’d 2 3.0)))
(length *mdfl-test*)
(length (elt *mdfl-test* 0))
(defparameter *mdfl-test-dt* (make-datatable-from-listoflists *mdfl-test*))
(array-dimensions *mdfl-test-dt*)
</example>
Test for conformance of structure: list whose sublists are of the
same size (if ragged is T, then just test that list has elements of
type list).
FIXME: should have a flag to verify equivalence of types in case needed to map to a RHO:DATA-FRAME.
Take a list of list, and verify that the sublists are all of the same size. returns size-of-sublist if all sublists same size, otherwise nil
This function does the moral-equivalent of a matrix transpose on a
rectangular list-of-lists data structure.
Assumes listoflist is rectangular, need to see what happens if ragged (or at least check). Could use the listoflistp predicate to confirm.
FIXME: need to write this.
Return a (simple-array element-type dimensions) containing elements, coerced to element-type, where the elemen-type is obtained using numeric-type-classifier.
Return a (simple-array element-type dimensions) containing elements, coerced to element-type.
Return a (simple-array element-type (*)) containing elements, coerced to element-type, where the elemen-type is obtained using numeric-type-classifier.
Fills array with elements from list, coerced to the appropriate type. No error checking, meant to be used internally. Return array.
We assume row-major, that is each sublist denotes a row, and columns are formed by taking the jth element from each list to form the jth column
Check if the lengths of the lists are equal (T, otherwise NIL), to justify further processing and initial conditions.
Numeric type classifier, finds the smallest subtype that can accomodate the elements of list, in the ordering fixnum < integer < float < complex < t. Rational, float (any kind) are classified as double-float, and complex numbers as (complex double-float). Meant to be used by simple array-constructing functions. Upgraded-array-element-type is called on end result.
Jump to: | A C E F L N S T |
---|
Jump to: | A C E F L N S T |
---|
Jump to: | F L M P S U |
---|
Jump to: | F L M P S U |
---|