[Top][All Lists]

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

Re: MakeShears

From: John W. Eaton
Subject: Re: MakeShears
Date: Mon, 7 May 2007 15:47:15 -0400

On  7-May-2007, Søren Hauberg wrote:

| John W. Eaton skrev:
| > On  5-May-2007, Paul Kienzle wrote:
| > 
| > | Since Octave now allows private functions,
| > 
| > Unless I'm missing something, I don't think private functions work
| > yet.  I did make Octave's genpath function skip directories named
| > "private" but I don't remember doing anything else for them.
| The way I understood Paul, was that the MakeShears function should just 
| be placed inside the imrotate_Fourier.m file, so that looks like
| function imrotate_Fourier()
|    ...
| endfunction
| function MakeShears()
|    ...
| endfunction
| I'm guessing that the word "private" was just a bit misused in this case...

Yes, what you show above is a subfunction.  A private function is in a
subdirectory called "private" and is visible to all of the functions
found in the parent directory (but not to any others).


reply via email to

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