Re: [Numpy-discussion] Proposing Ubiquity

2007-11-14 Thread dieter h.
On Nov 13, 2007 12:52 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
>
> dieter h. wrote:
> > Hi all,
> >
> > Would it make sense for all functionality in Numpy/Scipy to have
> > ubiquitous returns? In that I'm proposing that every func/method
> > (where appropriate) have a flag in its arg list establishing a return
> > for either [INDEX, BOOLEAN, VALUE=default]. this could be by a
> > singular Enum flag, I believe. Obvioulsy, this proposal gives the
> > option for a return of Index/Bool to be used for Indexing arrays, or
> > the actual values. Since I mosty index existing arrays, this would be
> > a huge plus for me.
>
> I'm afraid that I don't understand this proposal. Can you show some examples 
> of
> what you would like to see? Preferably, can you write some working code that
> demonstrates this feature?
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>  that is made terrible by our own mad attempt to interpret it as though it had
>  an underlying truth."
>   -- Umberto Eco
> ___
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>

Hi Robert. Thank you for responding, but I made a mistake... so please
disregard.

-Dieter
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Proposing Ubiquity

2007-11-13 Thread Robert Kern
dieter h. wrote:
> Hi all,
> 
> Would it make sense for all functionality in Numpy/Scipy to have
> ubiquitous returns? In that I'm proposing that every func/method
> (where appropriate) have a flag in its arg list establishing a return
> for either [INDEX, BOOLEAN, VALUE=default]. this could be by a
> singular Enum flag, I believe. Obvioulsy, this proposal gives the
> option for a return of Index/Bool to be used for Indexing arrays, or
> the actual values. Since I mosty index existing arrays, this would be
> a huge plus for me.

I'm afraid that I don't understand this proposal. Can you show some examples of
what you would like to see? Preferably, can you write some working code that
demonstrates this feature?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] Proposing Ubiquity

2007-11-13 Thread dieter h.
Hi all,

Would it make sense for all functionality in Numpy/Scipy to have
ubiquitous returns? In that I'm proposing that every func/method
(where appropriate) have a flag in its arg list establishing a return
for either [INDEX, BOOLEAN, VALUE=default]. this could be by a
singular Enum flag, I believe. Obvioulsy, this proposal gives the
option for a return of Index/Bool to be used for Indexing arrays, or
the actual values. Since I mosty index existing arrays, this would be
a huge plus for me.

Thanks
-Dieter
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion