Mercurial > hg > octave-nkf
view examples/@polynomial/mtimes.m @ 17804:f3e25230b1f3
use QCoreApplication if starting with --no-gui
* octave-gui.cc (octave_start_gui): Use QApplication when starting
the GUI and QCoreApplication if not.
(octave_cli_thread::run): Call QCoreApplication::exit instead of
QApplication::exit.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 30 Oct 2013 02:08:41 -0400 |
parents | 1b48b209a8d6 |
children |
line wrap: on
line source
function y = mtimes (a, b) y = polynomial (conv (double (a), double (b))); endfunction