On Mon, Apr 6, 2009 at 4:58 PM, Richardson, Anthony <[email protected]> wrote:
> Fix to polytranslate.m, it should be rot90(pascal(lf, -1),2) instead
>
> of flipud(pascal(lf, -1)).
>
>
>
> Tony
>
>
>

OK, I pushed both functions. I made a few other changes:

adjusted coding style
renamed polytranslate -> polytrans
used toeplitz (a.^p) instead of a.^toeplitz (p) (N powers rather than N^2).
avoided the rot90 operation by flipping the f and g vectors instead.
http://hg.savannah.gnu.org/hgweb/octave/rev/705c24e3db58

would you care to write some tests for the two functions?

thanks

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to