view examples/@polynomial/polyval.m @ 15175:5984aa619cd9

doc: Remove multiple seealso links to I (bug #37046). arith.txi: Remove multiple doc-anchors to I data.cc: Remove multiple seealso links (i,j,J) to I.
author Rik <rik@octave.org>
date Tue, 14 Aug 2012 21:32:26 -0700
parents 1b48b209a8d6
children
line wrap: on
line source

function [y, dy] = polyval (p, varargin)
  if (nargout == 2)
    [y, dy] = polyval (fliplr (p.poly), varargin{:});
  else
    y = polyval (fliplr (p.poly), varargin{:});
  endif
endfunction