octave-maintainers
[Top][All Lists]
Advanced

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

Re: New Function rectint.m


From: Bill Denney
Subject: Re: New Function rectint.m
Date: Tue, 04 Mar 2008 22:45:26 -0500
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

John W. Eaton wrote:
On  2-Mar-2008, Bill Denney wrote:

| I was feeling like doing something so I wrote the rectint.m function. | Changelog is in the changeset.

I applied this patch with a few style changes.  I also added a check
to ensure that the arguments are 2-d arrays.  Is that OK?  As it is,
your function silently ignores the additional dimensions.  Is that
desirable behavior?

Finally, I'll take this function since it seems to work, but perhaps
there is a way to vectorize it and avoid the nested for loop and
subfunction?
Hi John,

Checking for 2-d arrays is something that I missed, thanks for catching it. I tried to think of a way to vectorize the calls, but I couldn't think of anything off the top of my head. I will keep thinking about it.

Have a good day,

Bill


reply via email to

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