Permalink
Browse files

docs and cleanup for CLS

  • Loading branch information...
1 parent 90292ee commit 8dc65cf47815c65a5c44318229432794f4b3b32d @blindglobe committed Mar 19, 2011
Showing with 34 additions and 13 deletions.
  1. +12 −7 README.org
  2. +6 −4 src/matrix-operations.lisp
  3. +16 −2 src/package.lisp
View
@@ -1,14 +1,16 @@
-*- mode: org -*-
* Introduction
- Lisp-Matrix is a reasonably modern, flexible system for numeric
- algebra in Lisp.
+
+ Lisp-Matrix intends to be a reasonably modern, flexible system for
+ numeric algebra in Lisp.
Rif, Tomas Papp, and Mark H contributed various critical pieces
(code, design, code, testing, code, benchmarks, code, and more
code).
- Some of them continued on other projects, but I took this one on.
+ Some of them continued on other projects and left this behind, a gem
+ in the rough, so I took this one on.
I'm just a dwarf standing on the shoulders of giants.
@@ -102,14 +104,13 @@ These dependencies need to be better worked out.
(asdf:oos 'asdf:load-op :lisp-matrix)
#+end_src
-
-
Need to autogenerate approach for documenting what we can do with
this. Until then, simple reference.
Instantiates a supported matrix type:
- - lisp/foriegn
+ - lisp/foreign
- single/double/complex-single/complex-double/integer
+ - (TODO: need to consider normal or mmap'd structures as well)
by:
#+srcname:
#+begin_src lisp
@@ -119,7 +120,11 @@ These dependencies need to be better worked out.
right now, we are being numerical analysts, and only allow for a
single modality, i.e. lisp-integer, foriegn-doubleFloat, etc.
- Referencing elements is done using the xarray system.
+ A different package, based on this, should manage mixed-data type
+ typed matrices/arrays.
+
+ Referencing elements is done using the xarray system, so that needs
+ to be a dependency of this.
#+srcname:
#+begin_src lisp
View
@@ -165,16 +165,18 @@
&optional
(op t))
- (let ((resultdims (list (dims 1 mata)
- (dims 2 mata)
- (dims 1 matb)
- (dims 2 matb)))
+ (let ((resultdims (list (xdims 1 mata)
+ (xdims 2 mata)
+ (xdims 1 matb)
+ (xdims 2 matb)))
(mresult (make-array resultdims)))
+#|
(loop
over i j k l in resultdims
(setf (xref mresult i j k l)
(funcall op
(xref mata i j) (xref matb j k))))
+|#
mresult)))
View
@@ -1,10 +1,24 @@
-;;;; lisp-matrix package definition.
-;;;; Author: mfh
+;;; -*- mode: lisp -*-
+
+;;; Time-stamp: <2011-03-17 11:59:42 tony>
+;;; Creation: ??
+;;; File: package.lisp
+;;; Author: mfh
+;;; Maintainer: AJ Rossini <blindglobe@gmail.com>
+;;; Copyright: (c)2009--2011, AJ Rossini. Currently licensed under MIT
+;;; license. See file LICENSE.mit in top-level directory
+;;; for information.
+;;; Purpose: lisp-matrix package definition.
+
+;;; 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.
(in-package :cl-user)
(defpackage :lisp-matrix
(:use :cl
+ :xarray
:cffi
:cl-utilities
:org.middleangle.foreign-numeric-vector

0 comments on commit 8dc65cf

Please sign in to comment.