1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Fix typo in documentation; need '*' for multiplication.
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: https://github.com/robol/MPSolve/pull/21
Last-Update: 2020-05-31
--- a/src/mpsolve/mpsolve.c
+++ b/src/mpsolve/mpsolve.c
@@ -179,7 +179,7 @@
" Example: -dfi for function calls and improvement\n"
#endif
" -p poly Solve the polynomial specified on the command line. \n"
- " Example: %s -p \"x^4-6x^9+6/7x + 5\" \n"
+ " Example: %s -p \"x^4-6*x^9+6/7*x + 5\" \n"
" -r Use a recursive strategy to dispose the initial approximations.\n"
" This option is available only for monomial polynomials. \n"
" Note: this option is considered experimental.\n"
--- a/src/mpsolve/mpsolve.1.in
+++ b/src/mpsolve/mpsolve.1.in
@@ -124,7 +124,7 @@
\fB\-p poly\fR
Solve the polynomial specified on the command line.
.IP
-For example: mpsolve \fB-p\fR "x^4-6x^9+6/7x + 5"
+For example: mpsolve \fB-p\fR "x^4-6*x^9+6/7*x + 5"
.TP
\fB\-r\fR
Use a recursive strategy to dispose the initial approximations.
--- a/src/xmpsolve/mainwindow.ui
+++ b/src/xmpsolve/mainwindow.ui
@@ -49,7 +49,7 @@
</sizepolicy>
</property>
<property name="text">
- <string><html><head/><body><p>Insert polynomial here:</p><p><span style=" font-size:8pt; font-weight:600;">Note:</span><span style=" font-size:8pt;"> use 'x' as indeterminate, <br/>and (a +yi) for complex numbers.</span></p><p><span style=" font-size:8pt;">Example: -2x + (1 + 3/2i)*x^2 +1.6e2</span></p></body></html></string>
+ <string><html><head/><body><p>Insert polynomial here:</p><p><span style=" font-size:8pt; font-weight:600;">Note:</span><span style=" font-size:8pt;"> use 'x' as indeterminate, <br/>and (a +yi) for complex numbers.</span></p><p><span style=" font-size:8pt;">Example: -2*x + (1 + 3/2i)*x^2 +1.6e2</span></p></body></html></string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|