diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-07 14:57:27 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-07 14:57:27 +0200 |
commit | 1b556d9e057c6e3bed4893036d12eed1f3bc238d (patch) | |
tree | 51193cf4a28ea955967b3e9440b6508a17cb0d1c /Sacla/array.lisp | |
parent | a35098ffebf51958f22e0845b5b6803c0dff1dfb (diff) |
Add various array operations.
Diffstat (limited to 'Sacla/array.lisp')
-rw-r--r-- | Sacla/array.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Sacla/array.lisp b/Sacla/array.lisp index 4fd0147..23b6c39 100644 --- a/Sacla/array.lisp +++ b/Sacla/array.lisp @@ -27,6 +27,15 @@ ;; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(in-package #:common-lisp) + +(export '(aref array-dimenion array-in-bounds-p array-rank + array-row-major-index array-total-size bit-andc1 bit-andc2 + bit-eqv bit-nand bit-nor bit-orc1 bit-orc2 bit-vector-p + simple-bit-vector-p vector vector-pop vector-push + vector-push-extend vectorp )) + + (defun aref (array &rest subscripts) "Access an element of ARRAY specified by SUBSCRIPTS." (row-major-aref array (apply #'array-row-major-index array subscripts))) |