Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 123 lines (108 sloc) 3.894 kb
1a4c0d9 Initialized git repository for lisp-matrix code.
Mark Hoemmen authored
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2
3 ;;; TODO: wrap this in a #+(or <supported-systems>) with an error if
4 ;;; the system isn't supported.
5 ;;;
e237864 @blindglobe packaging and an attempt at fixing make-predicate via a macro. NOT WORKI...
authored
6 (in-package :cl-user)
7
8 (defpackage :lisp-matrix-asd
9 (:use :cl :asdf))
10
11 (in-package :lisp-matrix-asd)
12
6d85470 @blindglobe dump fasl's into lisp implementation specific directory.
authored
13 (defparameter *fasl-directory*
14 (make-pathname :directory '(:relative
15 #+sbcl "fasl-sbcl"
16 #+openmcl "fasl-ccl"
17 #+openmcl "fasl-ccl"
18 #+cmu "fasl-cmucl"
19 #+clisp "fasl-clisp"
20 #-(or sbcl openmcl clisp cmucl) "fasl"
21 )))
22
e237864 @blindglobe packaging and an attempt at fixing make-predicate via a macro. NOT WORKI...
authored
23 (defsystem lisp-matrix
1a4c0d9 Initialized git repository for lisp-matrix code.
Mark Hoemmen authored
24 :name "lisp-matrix"
25 :version "0.0.1"
26 :author "Mark Hoemmen <mhoemmen@cs.berkeley.edu>"
27 :license "BSD sans advertising clause"
28 :description "linear algebra library"
0c5ab49 @evanmonroig remove code duplication by factoring implementations' code
evanmonroig authored
29 :long-description "Linear algebra library for ANSI Common Lisp;
30 implemented at the lowest level using CFFI to call the BLAS and
31 LAPACK. Should run on any ANSI CL implementation that supports
5073a43 @blindglobe docs, and add lift as a more convenient unit-test framework.
authored
32 CFFI. Also considers lisp-centric and foreign-centric storage, in
33 a manner friendly to the other storage facility."
34 :serial t
5dd69ed @blindglobe adding FFA, to the load, but we need to incorporate
authored
35 :depends-on (:cffi
1f69c31 @blindglobe unittests are integrated into the tool
authored
36 :cl-utilities
9c45f52 @blindglobe including xarray as a general indexing scheme. Recall that we are alrea...
authored
37
2784e7d @blindglobe get ready for xarray integration, but still need to condition on its pr...
authored
38 ;; :xarray ; we will use this for general indexing
e237864 @blindglobe packaging and an attempt at fixing make-predicate via a macro. NOT WORKI...
authored
39
40 ;; :fiveam ;;see below for its replacement...
5073a43 @blindglobe docs, and add lift as a more convenient unit-test framework.
authored
41 :lift ;; yes, Tony (me) is a PITA...
5dd69ed @blindglobe adding FFA, to the load, but we need to incorporate
authored
42 :org.middleangle.foreign-numeric-vector
43 :org.middleangle.cl-blapack
1f69c31 @blindglobe unittests are integrated into the tool
authored
44 :ffa)
90347cf @evanmonroig * lisp-matrix.asd (lisp-matrix, operation-done-p): automatically
evanmonroig authored
45 :components
bd19d15 @blindglobe reorg results in a valid compile
authored
46 ((:module
47 "package-init"
48 :pathname #p "src/"
49 :components
50 ((:file "package")))
51
52 (:module
53 "basics"
54 :pathname #p"src/"
55 :depends-on ("package-init")
56 :components
57 ((:file "utils" )
58 (:file "macros" )
59 (:file "matrix" )
60 (:file "vector" :depends-on ("matrix"))
3c4633b @blindglobe initial structure for data transformation (standard lisp structures
authored
61 (:file "data-transform" :depends-on ("matrix" "vector"))
bd19d15 @blindglobe reorg results in a valid compile
authored
62 (:file "matrix-implementations" :depends-on ("matrix" "vector"))))
63
64 (:module
65 "implementations"
66 :pathname #p"src/"
67 :depends-on ("package-init" "basics")
968590d @blindglobe more refactoring of blapack interfacing.
authored
68 :serial t
bd19d15 @blindglobe reorg results in a valid compile
authored
69 :components
70 ((:file "matrix-lisp-array")
71 (:file "matrix-foreign-array")
445cfc2 @blindglobe refactor out matrix decomp/factorization methods into smaller chunks.
authored
72 ;; probably should move the remainder into a numerical linear
73 ;; algebra place.
bd19d15 @blindglobe reorg results in a valid compile
authored
74 (:file "lapack-utils" :depends-on ("matrix-foreign-array"
75 "matrix-lisp-array"))
76 (:file "lapack-methods" :depends-on ("lapack-utils"))
445cfc2 @blindglobe refactor out matrix decomp/factorization methods into smaller chunks.
authored
77 (:file "lapack-cholesky" :depends-on ("lapack-utils"))
78 (:file "lapack-lu" :depends-on ("lapack-utils"))
79 (:file "lapack-qr" :depends-on ("lapack-utils"))
ccd3573 @blindglobe SVD works, need to be incorporated, tested. Only for reals, not complex...
authored
80 (:file "lapack-svd" :depends-on ("lapack-utils"))
81
968590d @blindglobe more refactoring of blapack interfacing.
authored
82 (:file "lapack-ls" :depends-on ("lapack-utils"))
445cfc2 @blindglobe refactor out matrix decomp/factorization methods into smaller chunks.
authored
83
84 (:file "matrix-operations" :depends-on ("lapack-methods"
85 "lapack-cholesky"
86 "lapack-lu"
87 "lapack-qr"))))
351b3d6 @blindglobe API module, prviding a but more support for a cleaner interface.
authored
88 (:module
89 "api"
90 :pathname #p"src/"
91 :depends-on ("basics" "implementations")
92 :components
93 ((:file "numerical-linear-algebra")))
94
bd19d15 @blindglobe reorg results in a valid compile
authored
95 (:module
96 "testing"
97 :pathname #p "src/unittests/"
98 :depends-on ("implementations")
99 :components
9ce175a @blindglobe modularization of unittests for coding sanity
authored
100 ((:file "unittests")
3c4633b @blindglobe initial structure for data transformation (standard lisp structures
authored
101 (:file "unittests-transform" :depends-on ("unittests"))
9ce175a @blindglobe modularization of unittests for coding sanity
authored
102 (:file "unittests-matrix" :depends-on ("unittests"))
04fafcc @blindglobe loader neglected the matrix dependencies. We were lucky before, apparen...
authored
103 (:file "unittests-matrix-view" :depends-on ("unittests" "unittests-matrix"))
104 (:file "unittests-matrix-lapack" :depends-on ("unittests" "unittests-matrix"))
9ce175a @blindglobe modularization of unittests for coding sanity
authored
105 (:file "unittests-vector" :depends-on ("unittests")))))
106
1f69c31 @blindglobe unittests are integrated into the tool
authored
107 ;; (:file "tests")
1c77a6e @blindglobe comment out broken ASDF-LIFT integration. Need to repair.
authored
108 #|
109 :in-order-to ((test-op (load-op lisp-matrix)))
110 :perform (test-op :after (op c)
111 (funcall (intern "RUN!" 'fiveam)
112 (intern "TESTS" 'lisp-matrix)))
113 |#
1f69c31 @blindglobe unittests are integrated into the tool
authored
114 )
1a4c0d9 Initialized git repository for lisp-matrix code.
Mark Hoemmen authored
115
1f69c31 @blindglobe unittests are integrated into the tool
authored
116 ;;;; keep ASDF thinking that the test operation hasn't been done
1c77a6e @blindglobe comment out broken ASDF-LIFT integration. Need to repair.
authored
117 #|
118 (defmethod operation-done-p
119 ((o test-op)
120 (c (eql (find-system 'lisp-matrix))))
121 (values nil))
122 |#
Something went wrong with that request. Please try again.