[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] array questions

From: Camm Maguire
Subject: [Gcl-devel] array questions
Date: 29 Mar 2006 14:17:23 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  In getting maxima working on gcl 2.7.0, I came across the
following strangeness:

MAXIMA> (eq 'array 'lisp::array)

(defmacro arraycall (ign array &rest dims) ign
          `(aref ,array . ,dims))

This slows down array referencing enormously, at least when compiled
with GCL, and I suspect others too.  What would be the matter with
importing 'array into 'maxima, and then

(defmacro arraycall (ign array &rest dims) ign
          `(aref (the ,ign ,array) . ,dims))


Take care,

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]