[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cell support for deblank
From: |
David Bateman |
Subject: |
Re: Cell support for deblank |
Date: |
Wed, 08 Jun 2005 11:13:32 +0200 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040923) |
Keith Goodman wrote:
Understood. But a "which -all" is still very useful if anyone feels
like making one.
Its not that difficult to implement a simple version of "which -all".
One of the advantages of octave over its close source competitors is
that with the source being open, the users can propose a patch for the
feature they want, and in all likelihood see this patch included in a
very short delay. That's how open source programs become more feature
rich...
As for "which -all" there is one complication. The octave dispatch
function allows function overloading in a manner similar but different
to matlab classes. Strictly speaking "which -all <fun>" should also
return all of the overloaded functions of <fun> as well with an
indication of the type they are used for. Consider
octave:1> dispatch("inv")
Overloaded function inv
inv(galois,...)->ginv(galois,...)
inv(sparse bool matrix,...)->spinv(sparse bool matrix,...)
inv(sparse complex matrix,...)->spinv(sparse complex matrix,...)
inv(sparse matrix,...)->spinv(sparse matrix,...)
Therefore "which -all inv" for me should return
/opt/octave-2.9/libexec/octave/2.9.3/site/oct/i686-pc-linux-gnu/octave-forge/ginv.oct
# galois
/opt/octave-2.9/libexec/octave/2.9.3/oct/i686-pc-linux-gnu/spinv.oct #
sparse bool matrix
/opt/octave-2.9/libexec/octave/2.9.3/oct/i686-pc-linux-gnu/spinv.oct #
sparse complex matrix
/opt/octave-2.9/libexec/octave/2.9.3/oct/i686-pc-linux-gnu/spinv.oct #
sparse matrix
inv is a built-in function
Its not clear to me the best way to treat that case....
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary