[Top][All Lists]

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

patch : [...] = leval(name, list)

From: Etienne Grossmann
Subject: patch : [...] = leval(name, list)
Date: Sun, 17 Dec 2000 11:40:14 +0000
User-agent: WEMI/1.13.7 (Shimada) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386-debian-linux-gnu) (with unibyte mode)


  I got convinced that a function [...] = leval(name, list) offers
more flexibility than [...] = feval(name, arg1,...,argn). For example,
such a function is useful for minimization of a function that takes
many arguments.

  I first implemented it as a leval.m which works fine, but puts an
overhead of ~4ms (PII,350MHz), which I think is too much (there may be
hundreds of calls to it).

  It turns out that "leval" is very simple to implement as a built-in:
see the patch (against 2.1.32) below. It works fine : I append a test
script too. Run it after setting "verbose=1".

  Does that patch meet the coding standards?



Attachment: parse.leval.patch
Description: Binary data


Attachment: test_leval.m
Description: Binary data

reply via email to

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