First pass at a way to compare lists as almost=
[CommonLispStat.git] / src / data / datatable.lisp
blob231eec8c545b22cab2c2118a403cd9ed6047fe71
1 ;;; -*- mode: lisp -*-
2 ;;;
3 ;;; Copyright (c) 2007, by A.J. Rossini <blindglobe@gmail.com>
4 ;;; See COPYRIGHT file for any additional restrictions (BSD license).
6 ;;;; datatable -- i.e. data.frame for CL. Extends CLEM
8 ;;; What is this talk of 'release'? Klingons do not make software
9 ;;; 'releases'. Our software 'escapes', leaving a bloody trail of
10 ;;; designers and quality assurance people in its wake.
13 ;;;;
14 ;;;; Package Setup
15 ;;;;
17 (defpackage :lisp-stat-data-frame
18 (:use :common-lisp
19 :clem)
20 (:export data-frame-p rows cols
21 row-list column-list
22 transpose
23 bind-columns bind-rows
24 array-data-vector vector-to-array))
26 (in-package :lisp-stat-data-frame)
29 ;;; The goal with this data structure is to be able to extract CLEM
30 ;;; types for statistical computations from a more general data type.
31 ;;; The primary difference is that we need a means for ensuring column
32 ;;; "sameness" and this is absolutely critical.