You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions zeros and ones now accept T as an element type
Previously the array element type could only be T if you did not
supply an element type optional parameter. This meant that the array
type had to be known at compile time. With this change we can now
specify all acceptable array types at run time.
Copy file name to clipboardExpand all lines: src/matrices.lisp
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,20 @@
2
2
;;; Copyright (c) 2012-2018 by Tamas Papp. All rights reserved.
3
3
;;; Copyright (c) 2018-2022 by Ben Dudson. All rights reserved.
4
4
;;; Copyright (c) 2021-2022 by Symbolics Pte. Ltd. All rights reserved.
5
+
;;; SPDX-License-identifier: MS-PL
5
6
6
-
(defpackage:array-operations/matrices
7
+
(uiop:define-package #:array-operations/matrices
7
8
(:use:cl:array-operations/generic)
8
-
(:import-from:alexandria
9
-
:length=)
10
-
(:export:array-matrix
11
-
:matrixp
12
-
:square-matrix-p
9
+
(:import-from#:alexandria #:length=)
10
+
(:export#:array-matrix
11
+
#:matrixp
12
+
#:square-matrix-p
13
13
;; the next two are deprecated aliases for the previous two
14
-
:matrix?
15
-
:square-matrix?)
14
+
#:matrix?
15
+
#:square-matrix?)
16
16
(:documentation"Functions for representing matrices as 2D arrays. A matrix is a two-dimensional array often used for linear algebra. See also the matrix functions in NUM-UTILS, which should be migrated to AOPS."))
0 commit comments