Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

object system cleanup, continuing

  • Loading branch information...
commit 66e5b6696ca607e8711eb9522fb87df2ffd7a3c3 1 parent 82655c1
@blindglobe authored
Showing with 39 additions and 19 deletions.
  1. +26 −17 Makefile
  2. +7 −1 bayes.lsp
  3. +2 −0  lsbasics.lsp
  4. +4 −1 regression.lsp
View
43 Makefile
@@ -7,6 +7,18 @@ default:
@echo " clisp - build using CLISP"
@echo " "
+## Workspace cleanup
+
+clean:
+ (cd lib; make clean)
+ rm -f *.o *.fasl kclcmplr *~
+
+cleanall:
+ (cd lib; make cleanall)
+ rm -f *.o *.fasl kclcmplr saved_kcls kcls cls
+
+## C compilation
+
#
# Modify according to your system's needs for dynamic loading
#
@@ -23,25 +35,22 @@ lib/clib.a:
lib/exclglue.o:
(cd lib; make CFLAGS="${CFLAGS}" exclglue.o)
-clean:
- (cd lib; make clean)
- rm -f *.o *.fasl kclcmplr *~
-cleanall:
- (cd lib; make cleanall)
- rm -f *.o *.fasl kclcmplr saved_kcls kcls cls
+## Lisp targets and compilation
-#
-# This lets you use 'make objects' to make .o files for changed .lsp
-# files for kcl. If you use this approach, use 'cat makesys.kcl | kcl'
-# to make the executable.
-#
+sbcl :
+
+
+clisp :
+
+
+## Debugging/Building
+
+
+sbcl-debug :
+
+
+clisp-debug :
-OBJECTS=bayes.o compound.o dists.o fastmap.o kclglue.o \
- kclpatch.o ladata.o linalg.o lsbasics.o lsfloat.o lsmath.o \
- lsobjects.o lstoplevel.o matrices.o maximize.o nonlin.o \
- regression.o statistics.o
-.lsp.o:
- ./kclcmplr ./ $*.lsp $*.lsp S1000
View
8 bayes.lsp
@@ -9,7 +9,13 @@
;;;; You may give out copies of this software; for conditions see the file
;;;; COPYING included with this distribution.
-(in-package #:lisp-stat)
+
+(defpackage :lisp-stat-bayes
+ (:use :lisp-stat-object-system
+ :lisp-stat-basics))
+
+(in-package :lisp-stat-bayes)
+
;;; Objects Representing Functions
View
2  lsbasics.lsp
@@ -18,6 +18,7 @@
:lisp-stat-fastmap
:lisp-stat-float
:lisp-stat-macros
+ :lisp-stat-compound-data
:lisp-stat-sequence)
(:shadowing-import-from :lisp-stat-object-system
slot-value call-method call-next-method)
@@ -25,6 +26,7 @@
;; lsbasics.lisp
copy-vector copy-array which repeat
permute-array sum prod count-elements mean if-else sample sort-data
+ select
;; matrices.lisp
matrixp num-rows num-cols matmult identity-matrix diagonal row-list
View
5 regression.lsp
@@ -19,7 +19,10 @@
(defpackage :lisp-stat-regression-linear
(:use :common-lisp
:lisp-stat-object-system
- :lisp-stat-basics)
+ :lisp-stat-basics
+ :lisp-stat-compound-data
+ :lisp-stat-matrix
+ :lisp-stat-sequence)
(:shadowing-import-from :lisp-stat-object-system
slot-value call-method call-next-method)
(:export regression-model regression-model-proto x y intercept sweep-matrix
Please sign in to comment.
Something went wrong with that request. Please try again.