octave-maintainers
[Top][All Lists]
Advanced

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

Re: filesep extension


From: Jaroslav Hajek
Subject: Re: filesep extension
Date: Wed, 12 Nov 2008 14:24:41 +0100

On Wed, Nov 12, 2008 at 2:18 PM, Michael Goffioul
<address@hidden> wrote:
> On Wed, Nov 12, 2008 at 12:56 PM, Jaroslav Hajek <address@hidden> wrote:
>>> I like this one. Why do you need to reshape?
>>
>> If f and str happen to be both vectors, f(str+1) will inherit the
>> orientation of f rather than str. In all other cases, the reshape
>> operation does nothing.
>
> f and str will (should) always be row vectors anyway, right?
> Does strchr make sense for column vectors?
>

It depends on what you want it to do. The version I aimed at should
mimick `find', allowing str to be any char matrix, it can be called
with 1-3 output arguments, and supporting the "N" and "DIRECTION"
additional arguments (as in `find').

Given that this function will actually be a wrapper over `find', it
seems logical to allow it to support everything that `find' supports.


> Michael.
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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