Mercurial > octave
view examples/@polynomial/mtimes.m @ 8710:739141cde75a ss-3-1-52
fix typo in Array-f.cc
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 09 Feb 2009 21:51:31 +0100 |
parents | dba0037e6602 |
children | 567e3e4ab74d |
line wrap: on
line source
function y = mtimes (a, b) ap = double (a); bp = double (b); y = polynomial (filter (ap, 1, [bp(:).', zeros(1, length(bp) - 1)])); endfunction