X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/5c4b4321a2fc501055db568157fd575859e87fd6..f307fbcec2cbaaa95b8c861395133b519c7519cf:/ice-9/arrays.scm diff --git a/ice-9/arrays.scm b/ice-9/arrays.scm index 887782961..7ddcc8ab8 100644 --- a/ice-9/arrays.scm +++ b/ice-9/arrays.scm @@ -1,6 +1,6 @@ ;;; installed-scm-file -;;;; Copyright (C) 1999, 2001, 2004 Free Software Foundation, Inc. +;;;; Copyright (C) 1999, 2001, 2004, 2006 Free Software Foundation, Inc. ;;;; ;;;; This program is free software; you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -14,26 +14,10 @@ ;;;; ;;;; You should have received a copy of the GNU General Public License ;;;; along with this software; see the file COPYING. If not, write to -;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, -;;;; Boston, MA 02111-1307 USA +;;;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;;;; Boston, MA 02110-1301 USA ;;;; -(define uniform-vector-fill! array-fill!) - -(define (make-array fill . args) - (dimensions->uniform-array args make-vector fill)) -(define (list->array ndim lst) - (list->uniform-array ndim make-vector lst)) (define (array-shape a) (map (lambda (ind) (if (number? ind) (list 0 (+ -1 ind)) ind)) (array-dimensions a))) - -;; deprecated - -(define make-uniform-vector dimensions->uniform-array) - -(define (make-uniform-array prot . args) - (dimensions->uniform-array args prot)) - -(define (list->uniform-vector prot lst) - (list->uniform-array 1 prot lst))