functions and infrastructure for listoflist as an xarray-API array management structures. Goal is to be able to use a subset of xarray's API as appropriate for listoflist data.
Pull request Compare This branch is 8 commits behind blindglobe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE.mit
README.org
listoflist.asd

README.org

Overview

The LISTOFLIST package (depends on xarray) contains functions and methods for handling list-of-lists as array substitutes as well as conversions between the two data structures. The general API is that of XARRAY, but we have added a few convenience functions, as well.

This is part of the core suite of Common Lisp Statistics System (CLS) packages.

Tasks to do

Originally the following was in the TODO.lisp file.

;;; -*- mode: lisp -*-
;;; Time-stamp: <2012-10-06 09:16:41 tony>
;;; Creation:   <2009-12-10 08:10:39 tony>
;;; File:       TODO.lisp
;;; Author:     AJ Rossini <blindglobe@gmail.com>
;;; Copyright:  (c)2009--, AJ Rossini.  See file LICENSE.mit in
;;;             top-level directory for information.
;;; Purpose:    development support and short-term memory. 

;;; What is this talk of 'release'? Klingons do not make software
;;; 'releases'.  Our software 'escapes', leaving a bloody trail of
;;; designers and quality assurance people in its wake.

;;; This organization and structure is new to the 21st Century
;;; version..   Think, "21st Century Schizoid Man".

Initialization

#+NAME LoadingLOL

  (in-package :cl-user)
  (asdf:oos 'asdf:compile-op :listoflist :force t)
;;  (asdf:oos 'asdf:load-op :listoflist)
;;  (ql:quicklisp :listoflist)

Snips to repair and solve

Unit tests

#+NAME UnitTestExec

(in-package :listoflist-unittests)
;; (describe (run-tests :suite 'lol-ut))   ;; only from commandline
(run-tests :suite 'lol-ut)

Example Use

#+NAME Examples

(in-package :lol-user)

(listoflistp '((0d0  1d0  2d0  3d0)
	       (10d0 11d0 12d0 13d0)))
(listoflistp (list (list 0d0  1d0  2d0  3d0)
		   (list 10d0 11d0 12d0 13d0)))

Discussion