Mercurial > hg > octave-nkf
annotate 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 |
rev | line source |
---|---|
8223
0c91b9a17dcf
Commit missing files from previous change
David Bateman <dbateman@free.fr>
parents:
diff
changeset
|
1 function y = mtimes (a, b) |
14855
1b48b209a8d6
maint: Use Octave coding conventions for coddling parentheses in examples directory
Rik <octave@nomad.inbox5.com>
parents:
9284
diff
changeset
|
2 y = polynomial (conv (double (a), double (b))); |
1b48b209a8d6
maint: Use Octave coding conventions for coddling parentheses in examples directory
Rik <octave@nomad.inbox5.com>
parents:
9284
diff
changeset
|
3 endfunction |