;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; This file is part of "NOVA": NOVA = search + COCOMO tools ; Copyright, 2008, Tim Menzies tim@menzies.us ; ; NOVA is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; ; NOVA is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; You should have received a copy of the GNU General Public License ; a long with NOVA. If not, see . ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun a55 () (make-array '(5 5) :initial-contents '((0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0)))) (defun a56 () (make-array '(5 6) :initial-contents '((0 0 0 0 0 0) (0 0 0 0 0 0) (0 0 0 0 0 0) (0 0 0 0 0 0) (0 0 0 0 0 0) (0 0 0 0 0 0)))) (defun a65 () (make-array '(6 5) :initial-contents '((0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0) (0 0 0 0 0)))) (defun tr-55 () (let ((a (a55))) (setf (aref a 0 4) 2 (aref a 0 3) 1 (aref a 1 4) 1) a)) (defun tr-56 () (let ((a (a56))) (setf (aref a 0 5) 4 (aref a 0 4) 2 (aref a 0 3) 1 (aref a 1 5) 2 (aref a 1 4) 1 (aref a 2 5) 1) a)) (defun tl-55 () (let ((a (a55))) (setf (aref a 0 0) 4 (aref a 0 1) 2 (aref a 0 2) 1 (aref a 1 0) 2 (aref a 1 1) 1 (aref a 2 0) 1) a)) (defun br-55 () (let ((a (a55))) (setf (aref a 2 0) 1 (aref a 3 0) 2 (aref a 3 1) 1 (aref a 4 0) 4 (aref a 4 1) 2 (aref a 4 2) 1) a)) (defun br-65 () (let ((a (a65))) (setf (aref a 5 2) 1 (aref a 5 3) 2 (aref a 5 5) 4) a)) (defun aaaaa () (let ((abc (make-array '(2 4) :initial-contents '((10 20 30 40) (50 60 70 80))))) (setf (aref abc 1 3) 'a) abc))