You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(20) |
Dec
(17) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(39) |
Feb
(21) |
Mar
(33) |
Apr
(135) |
May
(53) |
Jun
(88) |
Jul
(47) |
Aug
(59) |
Sep
(207) |
Oct
(40) |
Nov
(7) |
Dec
(26) |
| 2003 |
Jan
(49) |
Feb
(39) |
Mar
(117) |
Apr
(50) |
May
(62) |
Jun
(6) |
Jul
(19) |
Aug
(24) |
Sep
(11) |
Oct
(11) |
Nov
(49) |
Dec
(9) |
| 2004 |
Jan
(29) |
Feb
(123) |
Mar
(32) |
Apr
(53) |
May
(52) |
Jun
(19) |
Jul
(33) |
Aug
(10) |
Sep
(76) |
Oct
(86) |
Nov
(171) |
Dec
(163) |
| 2005 |
Jan
(147) |
Feb
(121) |
Mar
(120) |
Apr
(126) |
May
(120) |
Jun
(213) |
Jul
(76) |
Aug
(79) |
Sep
(140) |
Oct
(83) |
Nov
(156) |
Dec
(202) |
| 2006 |
Jan
(181) |
Feb
(171) |
Mar
(157) |
Apr
(98) |
May
(96) |
Jun
(97) |
Jul
(193) |
Aug
(76) |
Sep
(130) |
Oct
(63) |
Nov
(196) |
Dec
(253) |
| 2007 |
Jan
(256) |
Feb
(293) |
Mar
(276) |
Apr
(258) |
May
(181) |
Jun
(91) |
Jul
(108) |
Aug
(69) |
Sep
(107) |
Oct
(179) |
Nov
(137) |
Dec
(121) |
| 2008 |
Jan
(124) |
Feb
(129) |
Mar
(192) |
Apr
(201) |
May
(90) |
Jun
(86) |
Jul
(115) |
Aug
(142) |
Sep
(49) |
Oct
(91) |
Nov
(95) |
Dec
(218) |
| 2009 |
Jan
(230) |
Feb
(149) |
Mar
(118) |
Apr
(72) |
May
(77) |
Jun
(68) |
Jul
(102) |
Aug
(72) |
Sep
(89) |
Oct
(76) |
Nov
(125) |
Dec
(86) |
| 2010 |
Jan
(75) |
Feb
(90) |
Mar
(89) |
Apr
(121) |
May
(111) |
Jun
(66) |
Jul
(75) |
Aug
(66) |
Sep
(66) |
Oct
(166) |
Nov
(121) |
Dec
(73) |
| 2011 |
Jan
(74) |
Feb
|
Mar
|
Apr
(14) |
May
(22) |
Jun
(31) |
Jul
(53) |
Aug
(37) |
Sep
(23) |
Oct
(25) |
Nov
(31) |
Dec
(28) |
| 2012 |
Jan
(18) |
Feb
(11) |
Mar
(32) |
Apr
(17) |
May
(48) |
Jun
(37) |
Jul
(23) |
Aug
(54) |
Sep
(15) |
Oct
(11) |
Nov
(19) |
Dec
(22) |
| 2013 |
Jan
(11) |
Feb
(32) |
Mar
(24) |
Apr
(37) |
May
(31) |
Jun
(14) |
Jul
(26) |
Aug
(33) |
Sep
(40) |
Oct
(21) |
Nov
(36) |
Dec
(84) |
| 2014 |
Jan
(23) |
Feb
(20) |
Mar
(27) |
Apr
(24) |
May
(31) |
Jun
(27) |
Jul
(34) |
Aug
(26) |
Sep
(21) |
Oct
(45) |
Nov
(23) |
Dec
(73) |
| 2015 |
Jan
(33) |
Feb
(8) |
Mar
(24) |
Apr
(45) |
May
(27) |
Jun
(19) |
Jul
(21) |
Aug
(51) |
Sep
(43) |
Oct
(29) |
Nov
(61) |
Dec
(86) |
| 2016 |
Jan
(99) |
Feb
(52) |
Mar
(80) |
Apr
(61) |
May
(24) |
Jun
(23) |
Jul
(36) |
Aug
(30) |
Sep
(41) |
Oct
(43) |
Nov
(27) |
Dec
(46) |
| 2017 |
Jan
(57) |
Feb
(34) |
Mar
(40) |
Apr
(31) |
May
(78) |
Jun
(49) |
Jul
(72) |
Aug
(33) |
Sep
(26) |
Oct
(82) |
Nov
(69) |
Dec
(29) |
| 2018 |
Jan
(43) |
Feb
(9) |
Mar
|
Apr
(40) |
May
(34) |
Jun
(49) |
Jul
(45) |
Aug
(8) |
Sep
(51) |
Oct
(75) |
Nov
(103) |
Dec
(80) |
| 2019 |
Jan
(153) |
Feb
(78) |
Mar
(47) |
Apr
(48) |
May
(63) |
Jun
(54) |
Jul
(10) |
Aug
(7) |
Sep
(17) |
Oct
(24) |
Nov
(29) |
Dec
(17) |
| 2020 |
Jan
(22) |
Feb
(74) |
Mar
(47) |
Apr
(48) |
May
(12) |
Jun
(44) |
Jul
(13) |
Aug
(18) |
Sep
(26) |
Oct
(36) |
Nov
(25) |
Dec
(23) |
| 2021 |
Jan
(28) |
Feb
(25) |
Mar
(58) |
Apr
(76) |
May
(72) |
Jun
(70) |
Jul
(25) |
Aug
(67) |
Sep
(17) |
Oct
(24) |
Nov
(30) |
Dec
(30) |
| 2022 |
Jan
(51) |
Feb
(39) |
Mar
(72) |
Apr
(65) |
May
(30) |
Jun
(72) |
Jul
(129) |
Aug
(44) |
Sep
(45) |
Oct
(30) |
Nov
(48) |
Dec
(275) |
| 2023 |
Jan
(235) |
Feb
(232) |
Mar
(68) |
Apr
(16) |
May
(52) |
Jun
(87) |
Jul
(143) |
Aug
(32) |
Sep
(26) |
Oct
(15) |
Nov
(20) |
Dec
(74) |
| 2024 |
Jan
(119) |
Feb
(32) |
Mar
(64) |
Apr
(68) |
May
(30) |
Jun
(50) |
Jul
(37) |
Aug
(32) |
Sep
(10) |
Oct
(27) |
Nov
(47) |
Dec
(36) |
| 2025 |
Jan
(94) |
Feb
(68) |
Mar
(79) |
Apr
(66) |
May
(46) |
Jun
(21) |
Jul
(134) |
Aug
(134) |
Sep
(53) |
Oct
(24) |
Nov
|
Dec
|
|
From: peterpall <pet...@us...> - 2025-09-01 05:51:08
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 8b855d95ab9ccf8c03ab1ad5789286ff45b735e8 (commit)
from b71f4cabaac0f0aad2a09478a5d87ef0f6198da4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8b855d95ab9ccf8c03ab1ad5789286ff45b735e8
Author: Gunter Königsmann <gu...@pe...>
Date: Mon Sep 1 07:50:34 2025 +0200
wrstcse: wc_ewc_simplify should continue on errors
diff --git a/share/contrib/wrstcse.mac b/share/contrib/wrstcse.mac
index 1962d2e57..a0b507f48 100644
--- a/share/contrib/wrstcse.mac
+++ b/share/contrib/wrstcse.mac
@@ -254,7 +254,9 @@ wc_ewc_simplify(x):=block(
wc_mergedtoldirection:1
],
for wc_tol in %wc_tols(x) do
- (
+ /* If one step of this loop errors out this means one tolerance isn't merged, but
+ the for loop can still continue. */
+ errcatch(
/* Let's see if increasing the current tol[n] increases x*/
wc_diffofwctol:wc_typicalvalues(diff(x,wc_tol)),
if wc_diffofwctol > 0 then
-----------------------------------------------------------------------
Summary of changes:
share/contrib/wrstcse.mac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-09-01 00:26:55
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via b71f4cabaac0f0aad2a09478a5d87ef0f6198da4 (commit)
from 0c83035053ad2f75160b38263a108b34db464613 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b71f4cabaac0f0aad2a09478a5d87ef0f6198da4
Author: Raymond Toy <toy...@gm...>
Date: Sun Aug 31 17:26:19 2025 -0700
Run update_examples
This allows these examples to have syntax highlighting applied if
enabled.
diff --git a/doc/info/Simplification.texi b/doc/info/Simplification.texi
index 6706ca56e..99b48bf38 100644
--- a/doc/info/Simplification.texi
+++ b/doc/info/Simplification.texi
@@ -153,7 +153,7 @@ Example: @code{sin(n*%pi)} is simplified to zero, if @var{n} is an integer.
@c declare(n, integer);
@c sin(n*%pi);
@c ===end===
-@example
+@example maxima
@group
(%i1) sin(n*%pi);
(%o1) sin(%pi n)
@@ -228,7 +228,7 @@ Example:
@c declare (F3, additive);
@c F3 (a + b + c);
@c ===end===
-@example
+@example maxima
@group
(%i1) F3 (a + b + c);
(%o1) F3(c + b + a)
@@ -271,7 +271,7 @@ Examples:
@c T (b, a);
@c T (a, c, e, d, b);
@c ===end===
-@example
+@example maxima
@group
(%i1) S (b, a);
(%o1) S(b, a)
@@ -327,7 +327,7 @@ Example:
@c 1*f/2*b + 2*c/3*a + 3*f/4*b +c/5*b*a;
@c combine (%);
@c ===end===
-@example
+@example maxima
@group
(%i1) 1*f/2*b + 2*c/3*a + 3*f/4*b +c/5*b*a;
5 b f a b c 2 a c
@@ -365,7 +365,7 @@ Example:
@c S (a, b) + S (b, a);
@c S (a, c, e, d, b);
@c ===end===
-@example
+@example maxima
@group
(%i1) S (b, a);
(%o1) S(b, a)
@@ -445,19 +445,27 @@ Examples:
@c distrib (1/((a+b) * (c+d)));
@c expand (1/((a+b) * (c+d)), 1, 0);
@c ===end===
-@example
+@example maxima
+@group
(%i1) distrib ((a+b) * (c+d));
(%o1) b d + a d + b c + a c
+@end group
+@group
(%i2) multthru ((a+b) * (c+d));
(%o2) (b + a) d + (b + a) c
+@end group
+@group
(%i3) distrib (1/((a+b) * (c+d)));
1
(%o3) ---------------
(b + a) (d + c)
+@end group
+@group
(%i4) expand (1/((a+b) * (c+d)), 1, 0);
1
(%o4) ---------------------
b d + a d + b c + a c
+@end group
@end example
@opencatbox{Categories:}
@@ -485,7 +493,7 @@ The @code{sin} function maps over a list:
@c ===beg===
@c sin([x,1,1.0]);
@c ===end===
-@example
+@example maxima
@group
(%i1) sin([x,1,1.0]);
(%o1) [sin(x), sin(1), 0.8414709848078965]
@@ -499,7 +507,7 @@ nested lists is possible too:
@c mod([x,11,2*a],10);
@c mod([[x,y,z],11,2*a],10);
@c ===end===
-@example
+@example maxima
@group
(%i1) mod([x,11,2*a],10);
(%o1) [mod(x, 10), 1, 2 mod(a, 5)]
@@ -516,7 +524,7 @@ Mapping of the @code{floor} function over a matrix and an equation:
@c floor(matrix([a,b],[c,d]));
@c floor(a=b);
@c ===end===
-@example
+@example maxima
@group
(%i1) floor(matrix([a,b],[c,d]));
[ floor(a) floor(b) ]
@@ -535,7 +543,7 @@ arguments:
@c ===beg===
@c expintegral_e([1,2],[x,y]);
@c ===end===
-@example
+@example maxima
@group
(%i1) expintegral_e([1,2],[x,y]);
(%o1) [[expintegral_e(1, x), expintegral_e(1, y)],
@@ -548,11 +556,11 @@ Check if a function has the property distribute_over:
@c ===beg===
@c properties(abs);
@c ===end===
-@example
+@example maxima
@group
(%i1) properties(abs);
-(%o1) [integral, rule, distributes over bags, noun, gradef,
- system function]
+(%o1) [limit function, integral, rule, distributes over bags,
+ noun, gradef, transfun]
@end group
@end example
@@ -565,7 +573,7 @@ to the value @code{false}.
@c distribute_over : not distribute_over;
@c sin([x,1,1.0]);
@c ===end===
-@example
+@example maxima
@group
(%i1) distribute_over;
(%o1) true
@@ -625,19 +633,31 @@ Examples:
@c declare (e, evenfun);
@c e (- x) - e (x);
@c ===end===
-@example
+@example maxima
+@group
(%i1) o (- x) + o (x);
(%o1) o(x) + o(- x)
+@end group
+@group
(%i2) declare (o, oddfun);
(%o2) done
+@end group
+@group
(%i3) o (- x) + o (x);
(%o3) 0
+@end group
+@group
(%i4) e (- x) - e (x);
(%o4) e(- x) - e(x)
+@end group
+@group
(%i5) declare (e, evenfun);
(%o5) done
+@end group
+@group
(%i6) e (- x) - e (x);
(%o6) 0
+@end group
@end example
@end defvr
@@ -705,7 +725,7 @@ Examples:
@c expand(expr);
@c expand(expr,2,2);
@c ===end===
-@example
+@example maxima
@group
(%i1) expr:(x+1)^2*(y+1)^3;
2 3
@@ -756,7 +776,7 @@ Resimplify an expression without expansion:
@c exponentialize:true;
@c expand(expr,0,0);
@c ===end===
-@example
+@example maxima
@group
(%i1) expr:(1+x)^2*sin(x);
2
@@ -768,8 +788,8 @@ Resimplify an expression without expansion:
@end group
@group
(%i3) expand(expr,0,0);
- 2 %i x - %i x
- %i (x + 1) (%e - %e )
+ %i x - %i x 2
+ (%e - %e ) %i (x + 1)
(%o3) - -------------------------------
2
@end group
@@ -940,7 +960,7 @@ Example:
@c declare (a, constant);
@c f(a*x);
@c ===end===
-@example
+@example maxima
@group
(%i1) declare (f, linear);
(%o1) done
@@ -969,15 +989,15 @@ Example:
@c declare (nounify (sum), linear);
@c 'sum (F(k) + G(k), k, 1, inf);
@c ===end===
-@example
+@example maxima
@group
(%i1) 'sum (F(k) + G(k), k, 1, inf);
inf
- ====
+ ____
\
(%o1) > (G(k) + F(k))
/
- ====
+ ----
k = 1
@end group
@group
@@ -987,11 +1007,11 @@ Example:
@group
(%i3) 'sum (F(k) + G(k), k, 1, inf);
inf inf
- ==== ====
+ ____ ____
\ \
(%o3) > G(k) + > F(k)
/ /
- ==== ====
+ ---- ----
k = 1 k = 1
@end group
@end example
@@ -1063,7 +1083,7 @@ Example:
@c declare (F2, multiplicative);
@c F2 (a * b * c);
@c ===end===
-@example
+@example maxima
@group
(%i1) F2 (a * b * c);
(%o1) F2(a b c)
@@ -1085,14 +1105,14 @@ Example:
@c declare (nounify (product), multiplicative);
@c product (a[i] * b[i], i, 1, n);
@c ===end===
-@example
+@example maxima
@group
(%i1) product (a[i] * b[i], i, 1, n);
n
- /===\
- ! !
-(%o1) ! ! a b
- ! ! i i
+ _____
+ | |
+(%o1) | | a b
+ | | i i
i = 1
@end group
@group
@@ -1102,10 +1122,10 @@ Example:
@group
(%i3) product (a[i] * b[i], i, 1, n);
n n
- /===\ /===\
- ! ! ! !
-(%o3) ( ! ! a ) ! ! b
- ! ! i ! ! i
+ _____ _____
+ | | | |
+(%o3) (| | a ) | | b
+ | | i | | i
i = 1 i = 1
@end group
@end example
@@ -1148,34 +1168,46 @@ noncommutative) over sums. Since quotients are represented as products
@c multthru (a.(b+c.(d+e)+f));
@c expand (a.(b+c.(d+e)+f));
@c ===end===
-@example
+@example maxima
+@group
(%i1) x/(x-y)^2 - 1/(x-y) - f(x)/(x-y)^3;
1 x f(x)
(%o1) - ----- + -------- - --------
x - y 2 3
(x - y) (x - y)
+@end group
+@group
(%i2) multthru ((x-y)^3, %);
- 2
-(%o2) - (x - y) + x (x - y) - f(x)
+ 2
+(%o2) x (x - y) - (x - y) - f(x)
+@end group
+@group
(%i3) ratexpand (%);
2
(%o3) - y + x y - f(x)
+@end group
+@group
(%i4) ((a+b)^10*s^2 + 2*a*b*s + (a*b)^2)/(a*b*s^2);
10 2 2 2
(b + a) s + 2 a b s + a b
(%o4) ------------------------------
2
a b s
+@end group
+@group
(%i5) multthru (%); /* note that this does not expand (b+a)^10 */
10
2 a b (b + a)
(%o5) - + --- + ---------
s 2 a b
s
-(%i6) multthru (a.(b+c.(d+e)+f));
(%o6) a . f + a . c . (e + d) + a . b
-(%i7) expand (a.(b+c.(d+e)+f));
+@end group
+@group
+(%i7) multthru (a.(b+c.(d+e)+f));
(%o7) a . f + a . c . e + a . c . d + a . b
+@end group
+(%i8) expand (a.(b+c.(d+e)+f));
@end example
@opencatbox{Categories:}
@@ -1203,13 +1235,19 @@ Example:
@c declare (H, nary);
@c H (H (a, b), H (c, H (d, e)));
@c ===end===
-@example
+@example maxima
+@group
(%i1) H (H (a, b), H (c, H (d, e)));
(%o1) H(H(a, b), H(c, H(d, e)))
+@end group
+@group
(%i2) declare (H, nary);
(%o2) done
+@end group
+@group
(%i3) H (H (a, b), H (c, H (d, e)));
(%o3) H(a, b, c, d, e)
+@end group
@end example
@end defvr
@@ -1235,14 +1273,14 @@ Example:
@c negdistrib : not negdistrib ;
@c -(x+y);
@c ===end===
-@example
+@example maxima
@group
(%i1) negdistrib;
(%o1) true
@end group
@group
(%i2) -(x+y);
-(%o2) (- y) - x
+(%o2) - y - x
@end group
@group
(%i3) negdistrib : not negdistrib ;
@@ -1273,7 +1311,7 @@ Example:
@c ===beg===
@c opproperties;
@c ===end===
-@example
+@example maxima
@group
(%i1) opproperties;
(%o1) [linear, additive, multiplicative, outative, evenfun,
@@ -1326,7 +1364,7 @@ Declare that @code{f} and @code{g} have the new property.
@c f(10 + t);
@c g(3*u) - f(2*u);
@c ===end===
-@example
+@example maxima
@group
(%i1) define_opproperty (identity, simplify_identity);
(%o1) done
@@ -1386,7 +1424,7 @@ Example:
@c declare (zz, constant);
@c F1 (zz * y);
@c ===end===
-@example
+@example maxima
@group
(%i1) F1 (100 * x);
(%o1) F1(100 x)
@@ -1454,7 +1492,7 @@ Examples:
@c radcan((log(1+2*a^x+a^(2*x))/log(1+a^x)));
@c radcan((%e^x-1)/(1+%e^(x/2)));
@c ===end===
-@example
+@example maxima
@group
(%i1) radcan((log(x+x^2)-log(x))^a/log(1+x)^(a/2));
a/2
@@ -1548,31 +1586,31 @@ Example:
@c resimplify(%);
@c ratsimp(%);
@c ===end===
-@example
+@example maxima
@group
(%i1) expr : sin(x)^2 + cos(x)^2;
- 2 2
-(%o1) sin (x) + cos (x)
+ 2 2
+(%o1) sin (x) + cos (x)
@end group
@group
(%i2) exponentialize : true;
-(%o2) true
+(%o2) true
@end group
@group
(%i3) expr;
- 2 2
-(%o3) sin (x) + cos (x)
+ 2 2
+(%o3) sin (x) + cos (x)
@end group
@group
(%i4) resimplify(%);
- %i x - %i x 2 %i x - %i x 2
- (%e + %e ) (%e - %e )
-(%o4) -------------------- - --------------------
- 4 4
+ %i x - %i x 2 %i x - %i x 2
+ (%e + %e ) (%e - %e )
+(%o4) -------------------- - --------------------
+ 4 4
@end group
@group
(%i5) ratsimp(%);
-(%o5) 1
+(%o5) 1
@end group
@end example
@@ -1627,7 +1665,7 @@ simplification on.
@c sin(1.0);
@c sin(1.0),simp;
@c ===end===
-@example
+@example maxima
@group
(%i1) simp:false;
(%o1) false
@@ -1652,7 +1690,7 @@ assignment has occurred during the evaluation phase of the expression.
@c x:sin(1.0),simp:false;
@c :lisp $x
@c ===end===
-@example
+@example maxima
@group
(%i1) simp:true;
(%o1) true
@@ -1711,7 +1749,7 @@ Examples:
@c ((x+2)^20 - 2*y)/(x+y)^20 + (x+y)^(-19) - x/(x+y)^20;
@c xthru (%);
@c ===end===
-@example
+@example maxima
@group
(%i1) ((x+2)^20 - 2*y)/(x+y)^20 + (x+y)^(-19) - x/(x+y)^20;
20
-----------------------------------------------------------------------
Summary of changes:
doc/info/Simplification.texi | 160 ++++++++++++++++++++++++++-----------------
1 file changed, 99 insertions(+), 61 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-31 19:52:33
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 0c83035053ad2f75160b38263a108b34db464613 (commit)
from 8a872710195853ff5f153fb7d8f412581170d395 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0c83035053ad2f75160b38263a108b34db464613
Author: Raymond Toy <toy...@gm...>
Date: Sun Aug 31 12:51:31 2025 -0700
Remove declare-top for $trigexpandplus and $trigexpandtimes
These are already declared to be special variables in globals.lisp, so
we don't need to have a declare-top special for these in trigo.lisp.
diff --git a/src/trigo.lisp b/src/trigo.lisp
index d42cc4064..10e76551f 100644
--- a/src/trigo.lisp
+++ b/src/trigo.lisp
@@ -392,8 +392,6 @@
;((and $trigsign (mminusp* y)) (ftake* '%asech (neg y)))
(t (give-up))))
-(declare-top (special $trigexpandplus $trigexpandtimes))
-
(defmfun ($trigexpand :properties ((evfun t))) (e)
(cond ((atom e) e)
((specrepp e) ($trigexpand (specdisrep e)))
-----------------------------------------------------------------------
Summary of changes:
src/trigo.lisp | 2 --
1 file changed, 2 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-31 19:51:17
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 8a872710195853ff5f153fb7d8f412581170d395 (commit)
from 1a1a308b448e8d27064c149770ff66394fcee53a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8a872710195853ff5f153fb7d8f412581170d395
Author: Raymond Toy <toy...@gm...>
Date: Sun Aug 31 12:46:51 2025 -0700
Add comment blocks to generate examples and run update_examples
This allows these examples to have syntax highlighting applied if
enabled.
diff --git a/doc/info/Command.texi b/doc/info/Command.texi
index dd12de7b6..18604b3bd 100644
--- a/doc/info/Command.texi
+++ b/doc/info/Command.texi
@@ -52,7 +52,7 @@ Examples:
@c [aa : 1, bb : 2, cc : 3];
@c (aa + bb + cc)/(dd + ee + g(x));
@c ===end===
-@example
+@example maxima
@group
(%i1) print ("I was called as", __);
I was called as print(I was called as, __)
@@ -123,7 +123,7 @@ Examples:
@c a + b;
@c ev (_);
@c ===end===
-@example
+@example maxima
@group
(%i1) 13 + 29;
(%o1) 42
@@ -221,34 +221,47 @@ Examples:
The following two examples yield the same result.
-@example
+@c ===beg===
+@c block (integrate (x^5, x), ev (%%, x=2) - ev (%%, x=1));
+@c block ([prev], prev: integrate (x^5, x),
+@c ev (prev, x=2) - ev (prev, x=1));
+@c ===end===
+@example maxima
+@group
(%i1) block (integrate (x^5, x), ev (%%, x=2) - ev (%%, x=1));
21
(%o1) --
2
+@end group
+@group
(%i2) block ([prev], prev: integrate (x^5, x),
- ev (prev, x=2) - ev (prev, x=1));
+ ev (prev, x=2) - ev (prev, x=1));
21
(%o2) --
2
-
+@end group
@end example
A compound statement may comprise other compound statements. Whether a
statement be simple or compound, @code{%%} is the value of the previous
statement.
-@example
-(%i3) block (block (a^n, %%*42), %%/6);
+@c ===beg===
+@c block (block (a^n, %%*42), %%/6);
+@c ===end===
+@example maxima
+@group
+(%i1) block (block (a^n, %%*42), %%/6);
n
-(%o3) 7 a
+(%o1) 7 a
+@end group
@end example
Within a compound statement, the value of @code{%%} may be inspected at a break
prompt, which is opened by executing the @mref{break} function. For example,
entering @code{%%;} in the following example yields @code{42}.
-@example
+@example maxima
(%i4) block (a: 42, break ())$
Entering a Maxima break point. Type 'exit;' to resume.
@@ -285,15 +298,23 @@ Example:
output expressions. This example sets @code{s} to the sum of the last five
output expressions.
-@example
+@c ===beg===
+@c 1;2;3;4;5;
+@c block (s: 0, for i:1 thru 5 do s: s + %th(i), s);
+@c ===end===
+@example maxima
+@group
(%i1) 1;2;3;4;5;
(%o1) 1
(%o2) 2
(%o3) 3
(%o4) 4
(%o5) 5
+@end group
+@group
(%i6) block (s: 0, for i:1 thru 5 do s: s + %th(i), s);
(%o6) 15
+@end group
@end example
@opencatbox{Categories:}
@@ -354,7 +375,7 @@ Example:
@c %;
@c %o1;
@c ===end===
-@example
+@example maxima
(%i1) 1 + 2 + 3 $
@group
(%i2) %;
@@ -380,7 +401,7 @@ Example:
@c ===beg===
@c 1 + 2 + 3;
@c ===end===
-@example
+@example maxima
@group
(%i1) 1 + 2 + 3;
(%o1) 6
@@ -412,7 +433,7 @@ Example:
@c inchar: "input";
@c expand((a+b)^3);
@c ===end===
-@example
+@example maxima
@group
(%i1) inchar: "input";
(%o1) input
@@ -704,13 +725,20 @@ was truly an option variable.
Example:
-@example
+@c ===beg===
+@c optionset:true;
+@c gamma_expand:true;
+@c ===end===
+@example maxima
+@group
(%i1) optionset:true;
-assignment: assigning to option optionset
(%o1) true
+@end group
+@group
(%i2) gamma_expand:true;
assignment: assigning to option gamma_expand
(%o2) true
+@end group
@end example
@opencatbox{Categories:}
@@ -745,7 +773,7 @@ Example:
@c outchar: "output";
@c expand((a+b)^3);
@c ===end===
-@example
+@example maxima
@group
(%i1) outchar: "output";
(output1) output
@@ -873,7 +901,7 @@ See also @mref{readonly}
Example:
-@example
+@example maxima
(%i1) foo: 42$
(%i2) foo: read ("foo is", foo, " -- enter new value.")$
foo is 42 -- enter new value.
@@ -900,7 +928,7 @@ See also @mrefdot{read}
Examples:
-@example
+@example maxima
(%i1) aa: 7$
(%i2) foo: readonly ("Enter an expression:");
Enter an expression:
@@ -968,7 +996,7 @@ inspected on the property list, then the function definition is extracted,
factored and stored in the variable @code{$result}. The variable can be used in Maxima
after returning to Maxima.
-@example
+@example maxima
(%i1) f(x):=x^2+x;
2
(%o1) f(x) := x + x
@@ -1009,34 +1037,34 @@ Examples:
@c eval_string_lisp ("(defun $foo (x) (* 2 x))");
@c foo (5);
@c ===end===
-@example
+@example maxima
@group
(%i1) eval_string_lisp ("");
-(%o1) []
+(%o1) []
@end group
@group
(%i2) eval_string_lisp ("(values)");
-(%o2) []
+(%o2) []
@end group
@group
(%i3) eval_string_lisp ("69");
-(%o3) [69]
+(%o3) [69]
@end group
@group
(%i4) eval_string_lisp ("1 2 3");
-(%o4) [3]
+(%o4) [3]
@end group
@group
(%i5) eval_string_lisp ("(values 1 2 3)");
-(%o5) [1,2,3]
+(%o5) [1, 2, 3]
@end group
@group
(%i6) eval_string_lisp ("(defun $foo (x) (* 2 x))");
-(%o6) [foo]
+(%o6) [foo]
@end group
@group
(%i7) foo (5);
-(%o7) 10
+(%o7) 10
@end group
@end example
@@ -1075,7 +1103,7 @@ The values are removed from the variables. @code{values} is the empty list.
@c [kill(a), remove(b,value), remvalue(c)];
@c values;
@c ===end===
-@example
+@example maxima
@group
(%i1) [a:99, b:: a-90, c:a-b, d, f(x):=x^2];
2
@@ -1122,7 +1150,7 @@ Example:
@c %edispflag:true$
@c %e^-10;
@c ===end===
-@example
+@example maxima
@group
(%i1) %e^-10;
- 10
@@ -1156,11 +1184,17 @@ signs around expressions which are more than one line tall.
Example:
-@example
+@c ===beg===
+@c display2d_unicode: false $
+@c abs((x^3+1));
+@c ===end===
+@example maxima
(%i1) display2d_unicode: false $
+@group
(%i2) abs((x^3+1));
- ! 3 !
-(%o2) !x + 1!
+ | 3 |
+(%o2) |x + 1|
+@end group
@end example
@opencatbox{Categories:}
@@ -1237,7 +1271,7 @@ There may be any number of index properties, in any order.
@c B[w, x, y];
@c C[w, x, y, z];
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [presubscript, postsubscript]);
(%o1) done
@@ -1284,7 +1318,7 @@ Otherwise, index properties are ignored.
@c stringdisp: true $
@c string (A[w, x]);
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [presubscript, postsubscript]);
(%o1) done
@@ -1387,7 +1421,7 @@ The value is assigned by @code{put(@var{A}, @var{S}, display_index_separator)},
@c put (A, ";", display_index_separator);
@c A[w, x, y, z];
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [postsuperscript, postsuperscript,
presubscript, presubscript]);
@@ -1413,7 +1447,7 @@ The assigned value is retrieved by @code{get(@var{A}, display_index_separator)}.
@c put (A, ";", display_index_separator);
@c get (A, display_index_separator);
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [postsuperscript, postsuperscript,
presubscript, presubscript]);
@@ -1447,7 +1481,7 @@ or @code{false}, indicating the default separator, or any expression.
@c put (A, 'foo, display_index_separator);
@c A[w, x, y, z];
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [postsuperscript, postsuperscript,
presubscript, presubscript]);
@@ -1519,7 +1553,7 @@ The default separator is a comma.
@c presubscript, presubscript]);
@c A[w, x, y, z];
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [postsuperscript, postsuperscript,
presubscript, presubscript]);
@@ -1544,7 +1578,7 @@ Each symbol has its own value of @code{display_index_separator}.
@c put (B, ";", display_index_separator);
@c A[w, x, y, z] + B[w, x, y, z];
@c ===end===
-@example
+@example maxima
@group
(%i1) declare_index_properties (A, [postsuperscript, postsuperscript,
presubscript, presubscript]);
@@ -1555,7 +1589,8 @@ Each symbol has its own value of @code{display_index_separator}.
(%o2)
@end group
@group
-(%i3) declare_index_properties (B, [postsuperscript, postsuperscript, presubscript, presubscript]);
+(%i3) declare_index_properties (B, [presuperscript, presuperscript,
+ postsubscript, postsubscript]);
(%o3) done
@end group
@group
@@ -1564,9 +1599,9 @@ Each symbol has its own value of @code{display_index_separator}.
@end group
@group
(%i5) A[w, x, y, z] + B[w, x, y, z];
- w;x w x
+ w;x w x
(%o5) B + A
- y;z y z
+ y;z y z
@end group
@end example
@@ -1592,7 +1627,7 @@ Example:
@c x:123$
@c disp(x, b[1,2], sin(1.0));
@c ===end===
-@example
+@example maxima
(%i1) b[1,2]:x-x^2$
(%i2) x:123$
@group
@@ -1632,7 +1667,7 @@ Example:
@c x:123$
@c display(x, b[1,2], sin(1.0));
@c ===end===
-@example
+@example maxima
(%i1) b[1,2]:x-x^2$
(%i2) x:123$
@group
@@ -1696,7 +1731,7 @@ Example:
@c display2d:false$
@c x/(x^2+1);
@c ===end===
-@example
+@example maxima
@group
(%i1) x/(x^2+1);
x
@@ -1828,17 +1863,23 @@ as @code{ncexpt (A, B)} in the case of @code{A^^B}).
Example:
-@example
+@c ===beg===
+@c dispterms(2*a*sin(x)+%e^x);
+@c ===end===
+@example maxima
+@group
(%i1) dispterms(2*a*sin(x)+%e^x);
-
+
2 a sin(x)
+
x
%e
+
(%o1) done
+@end group
@end example
@opencatbox{Categories:}
@@ -1872,19 +1913,33 @@ with negative exponents using quotients. See also @mrefdot{%edispflag}
Example:
-@example
+@c ===beg===
+@c exptdispflag:true;
+@c 10^-x;
+@c exptdispflag:false;
+@c 10^-x;
+@c ===end===
+@example maxima
+@group
(%i1) exptdispflag:true;
(%o1) true
+@end group
+@group
(%i2) 10^-x;
1
(%o2) ---
x
10
+@end group
+@group
(%i3) exptdispflag:false;
(%o3) false
+@end group
+@group
(%i4) 10^-x;
- x
(%o4) 10
+@end group
@end example
@opencatbox{Categories:}
@@ -1935,7 +1990,7 @@ Examples:
@c grind (cholesky);
@c string (fundef (cholesky));
@c ===end===
-@example
+@example maxima
@group
(%i1) aa + 1729;
(%o1) aa + 1729
@@ -2017,7 +2072,7 @@ bb+aa^10
if i = j then p[i] : 1 / sqrt(x) else L[j, i] : x * p[i]),
for i thru n do L[i, i] : 1 / p[i],
for i thru n do for j : i + 1 thru n do L[i, j] : 0, L)$
-define: warning: redefining the built-in function cholesky
+define: warning: redefining the built-in operator cholesky
@end group
@group
(%i15) grind (cholesky);
@@ -2098,7 +2153,7 @@ Examples:
@c obase;
@c 1111111111111111;
@c ===end===
-@example
+@example maxima
(%i1) ibase : 2 $
@group
(%i2) obase;
@@ -2124,7 +2179,7 @@ be prepended by a 0.
@c 0abcd;
@c symbolp (0abcd);
@c ===end===
-@example
+@example maxima
(%i1) ibase : 16 $
@group
(%i2) obase;
@@ -2161,7 +2216,7 @@ it is interpreted in base 10.
@c 1234;
@c 1234.;
@c ===end===
-@example
+@example maxima
(%i1) ibase : 36 $
@group
(%i2) obase;
@@ -2194,13 +2249,25 @@ See also @mrefcomma{disp} @mrefcomma{display} and @mrefdot{ldisplay}
Examples:
-@example
+@c ===beg===
+@c e: (a+b)^3;
+@c f: expand (e);
+@c ldisp (e, f);
+@c %t3;
+@c %t4;
+@c ===end===
+@example maxima
+@group
(%i1) e: (a+b)^3;
3
(%o1) (b + a)
+@end group
+@group
(%i2) f: expand (e);
3 2 2 3
(%o2) b + 3 a b + 3 a b + a
+@end group
+@group
(%i3) ldisp (e, f);
3
(%t3) (b + a)
@@ -2209,12 +2276,17 @@ Examples:
(%t4) b + 3 a b + 3 a b + a
(%o4) [%t3, %t4]
-(%i4) %t3;
+@end group
+@group
+(%i5) %t3;
3
-(%o4) (b + a)
-(%i5) %t4;
+(%o5) (b + a)
+@end group
+@group
+(%i6) %t4;
3 2 2 3
-(%o5) b + 3 a b + 3 a b + a
+(%o6) b + 3 a b + 3 a b + a
+@end group
@end example
@opencatbox{Categories:}
@@ -2237,13 +2309,25 @@ See also @mrefcomma{display} @mrefcomma{disp} and @mrefdot{ldisp}
Examples:
-@example
+@c ===beg===
+@c e: (a+b)^3;
+@c f: expand (e);
+@c ldisplay (e, f);
+@c %t3;
+@c %t4;
+@c ===end===
+@example maxima
+@group
(%i1) e: (a+b)^3;
3
(%o1) (b + a)
+@end group
+@group
(%i2) f: expand (e);
3 2 2 3
(%o2) b + 3 a b + 3 a b + a
+@end group
+@group
(%i3) ldisplay (e, f);
3
(%t3) e = (b + a)
@@ -2252,12 +2336,17 @@ Examples:
(%t4) f = b + 3 a b + 3 a b + a
(%o4) [%t3, %t4]
-(%i4) %t3;
+@end group
+@group
+(%i5) %t3;
3
-(%o4) e = (b + a)
-(%i5) %t4;
+(%o5) e = (b + a)
+@end group
+@group
+(%i6) %t4;
3 2 2 3
-(%o5) f = b + 3 a b + 3 a b + a
+(%o6) f = b + 3 a b + 3 a b + a
+@end group
@end example
@opencatbox{Categories:}
@@ -2277,14 +2366,23 @@ See also @mref{display2d} to switch between 1D- and 2D-display.
Example:
-@example
+@c ===beg===
+@c expand((x+1)^3);
+@c leftjust:true$
+@c expand((x+1)^3);
+@c ===end===
+@example maxima
+@group
(%i1) expand((x+1)^3);
3 2
(%o1) x + 3 x + 3 x + 1
+@end group
(%i2) leftjust:true$
+@group
(%i3) expand((x+1)^3);
3 2
(%o3) x + 3 x + 3 x + 1
+@end group
@end example
@opencatbox{Categories:}
@@ -2326,7 +2424,7 @@ Examples:
@c lispdisp: true$
@c ?foo + ?bar;
@c ===end===
-@example
+@example maxima
(%i1) lispdisp: false$
@group
(%i2) ?foo + ?bar;
@@ -2391,17 +2489,17 @@ Examples:
@c obase : 36;
@c 36^8 - 1;
@c ===end===
-@example
+@example maxima
@group
(%i1) obase : 2;
(%o1) 10
@end group
@group
-(%i10) 2^8 - 1;
-(%o10) 11111111
+(%i2) 2^8 - 1;
+(%o2) 11111111
@end group
@group
-(%i11) obase : 8;
+(%i3) obase : 8;
(%o3) 10
@end group
@group
@@ -2443,21 +2541,37 @@ displayed as a leading multiplicative term @code{1/n}.
Examples:
-@example
+@c ===beg===
+@c pfeformat: false$
+@c 2^16/7^3;
+@c (a+b)/8;
+@c pfeformat: true$
+@c 2^16/7^3;
+@c (a+b)/8;
+@c ===end===
+@example maxima
(%i1) pfeformat: false$
+@group
(%i2) 2^16/7^3;
65536
(%o2) -----
343
+@end group
+@group
(%i3) (a+b)/8;
b + a
(%o3) -----
8
-(%i4) pfeformat: true$
+@end group
+(%i4) pfeformat: true$
+@group
(%i5) 2^16/7^3;
(%o5) 65536/343
+@end group
+@group
(%i6) (a+b)/8;
-(%o6) 1/8 (b + a)
+(%o6) (1/8) (b + a)
+@end group
@end example
@opencatbox{Categories:}
@@ -2479,17 +2593,31 @@ By default, terms of a sum are displayed in order of decreasing power.
Example:
-@example
+@c ===beg===
+@c powerdisp:true;
+@c x^2+x^3+x^4;
+@c powerdisp:false;
+@c x^2+x^3+x^4;
+@c ===end===
+@example maxima
+@group
(%i1) powerdisp:true;
(%o1) true
+@end group
+@group
(%i2) x^2+x^3+x^4;
2 3 4
(%o2) x + x + x
+@end group
+@group
(%i3) powerdisp:false;
(%o3) false
+@end group
+@group
(%i4) x^2+x^3+x^4;
4 3 2
(%o4) x + x + x
+@end group
@end example
@opencatbox{Categories:}
@@ -2515,17 +2643,24 @@ To display the contents of a file, see @mrefdot{printfile}
Examples:
-@example
-(%i1) r: print ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is",
- radcan (log (a^10/b)))$
+@c ===beg===
+@c r: print ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is", radcan (log (a^10/b)))$
+@c r;
+@c disp ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is", radcan (log (a^10/b)))$
+@c ===end===
+@example maxima
+@group
+(%i1) r: print ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is", radcan (log (a^10/b)))$
3 2 2 3
(a+b)^3 is b + 3 a b + 3 a b + a log (a^10/b) is
-
10 log(a) - log(b)
+@end group
+@group
(%i2) r;
(%o2) 10 log(a) - log(b)
-(%i3) disp ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is",
- radcan (log (a^10/b)))$
+@end group
+@group
+(%i3) disp ("(a+b)^3 is", expand ((a+b)^3), "log (a^10/b) is", radcan (log (a^10/b)))$
(a+b)^3 is
3 2 2 3
@@ -2534,6 +2669,8 @@ Examples:
log (a^10/b) is
10 log(a) - log(b)
+
+@end group
@end example
@opencatbox{Categories:}
-----------------------------------------------------------------------
Summary of changes:
doc/info/Command.texi | 295 ++++++++++++++++++++++++++++++++++++--------------
1 file changed, 216 insertions(+), 79 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-31 10:25:42
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 1a1a308b448e8d27064c149770ff66394fcee53a (commit)
via a9dfa27159f4bcb9e4aa04e6e53557fb53bb83f6 (commit)
from d0a6c82f5a9a09f6e50f3f02b2c3418923d12b29 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1a1a308b448e8d27064c149770ff66394fcee53a
Merge: d0a6c82f5 a9dfa2715
Author: Gunter Königsmann <gu...@pe...>
Date: Sun Aug 31 12:25:18 2025 +0200
Merge branch 'feature/koengu/wrstcseEWCsamples'
commit a9dfa27159f4bcb9e4aa04e6e53557fb53bb83f6
Author: Gunter Königsmann <gu...@pe...>
Date: Sun Aug 31 12:24:50 2025 +0200
wrstcse: Made the defailt EWC depth configurable
diff --git a/doc/info/wrstcse.texi b/doc/info/wrstcse.texi
index fb62aceab..e085031c8 100644
--- a/doc/info/wrstcse.texi
+++ b/doc/info/wrstcse.texi
@@ -194,8 +194,9 @@ Example:
Systematically introduces @var{num} values per parameter into @var{expression}
and returns a list of the result. If no @var{num} is given, @var{num} defaults
-to 3. Negative values for @var{num} make @code{wc_systematic} use the
-monte carlo method, instead.
+to @var{wc_defaultvaluespertol}. Negative values for @var{num} make
+@code{wc_systematic} use the monte carlo method with @var{num} samples,
+instead.
If an equation uses the following values with tolerances:
@@ -209,7 +210,9 @@ If an equation uses the following values with tolerances:
be tested, instead:
@figure{wrstcse_montecarlo}
-See also @mref{wc_mintypmax} @mref{wc_ewc_simplify} and @mrefdot{wc_montecarlo}
+See also @mrefcomma{wc_defaultvaluespertol} @mrefcomma{wc_mintypmax}
+@mrefcomma{wc_defaultvaluespertol}
+@mref{wc_ewc_simplify} and @mrefdot{wc_montecarlo}
Example:
@c ===beg===
@@ -408,7 +411,7 @@ Example:
Prints the minimum, maximum and typical value of @var{expr}. If @var{n}
is positive, @var{n} values for each parameter will be tried systematically.
If @var{n} is negative, @var{-n} random values are used instead.
-If no @var{n} is given, 3 is assumed.
+If no @var{n} is given, @var{wc_defaultvaluespertol} is assumed.
See also @mrefcomma{wc_mintypmax_percent} @mrefcomma{wc_mintypmax_rss}
@mref{wc_ewc_simplify} and @mrefdot{wc_systematic}
@@ -707,6 +710,80 @@ Example:
@end example
@end defvr
+@anchor{wc_defaultvaluespertol}
+@defvr {Option variable} wc_defaultvaluespertol
+Default value: @code{3}
+
+Defines how many samples per @var{tol[n]} the EWC method of
+@code{wc_systematic} and @code{wc_mintypmax} shall use by default.
+
+See also @mref{wc_systematic} and @mrefdot{wc_mintypmax}
+
+Example:
+@c ===beg===
+@c load("wrstcse")$
+@c ratprint:false$
+@c vals: [
+@c R_1= 100.0*(1+tol[1]*.01),
+@c R_2= 1000.0*(1+tol[2]*.01)
+@c ];
+@c wc_defaultvaluespertol:2$
+@c wc_systematic(vals);
+@c wc_defaultvaluespertol:3$
+@c wc_systematic(vals);
+@c wc_defaultvaluespertol:5$
+@c wc_systematic(vals);
+@c ===end===
+@example maxima
+(%i1) load("wrstcse")$
+(%i2) ratprint:false$
+@group
+(%i3) vals: [
+ R_1= 100.0*(1+tol[1]*.01),
+ R_2= 1000.0*(1+tol[2]*.01)
+ ];
+(%o3) [R_1 = 100.0 (0.01 tol + 1), R_2 = 1000.0 (0.01 tol + 1)]
+ 1 2
+@end group
+(%i4) wc_defaultvaluespertol:2$
+@group
+(%i5) wc_systematic(vals);
+(%o5) [[R_1 = 99.0, R_2 = 990.0], [R_1 = 99.0, R_2 = 1010.0],
+ [R_1 = 101.0, R_2 = 990.0], [R_1 = 101.0, R_2 = 1010.0]]
+@end group
+(%i6) wc_defaultvaluespertol:3$
+@group
+(%i7) wc_systematic(vals);
+(%o7) [[R_1 = 99.0, R_2 = 990.0], [R_1 = 99.0, R_2 = 1000.0],
+[R_1 = 99.0, R_2 = 1010.0], [R_1 = 100.0, R_2 = 990.0],
+[R_1 = 100.0, R_2 = 1000.0], [R_1 = 100.0, R_2 = 1010.0],
+[R_1 = 101.0, R_2 = 990.0], [R_1 = 101.0, R_2 = 1000.0],
+[R_1 = 101.0, R_2 = 1010.0]]
+@end group
+(%i8) wc_defaultvaluespertol:5$
+@group
+(%i9) wc_systematic(vals);
+(%o9) [[R_1 = 99.0, R_2 = 990.0], [R_1 = 99.0, R_2 = 995.0],
+[R_1 = 99.0, R_2 = 1000.0], [R_1 = 99.0,
+R_2 = 1004.9999999999999], [R_1 = 99.0, R_2 = 1010.0],
+[R_1 = 99.5, R_2 = 990.0], [R_1 = 99.5, R_2 = 995.0],
+[R_1 = 99.5, R_2 = 1000.0], [R_1 = 99.5,
+R_2 = 1004.9999999999999], [R_1 = 99.5, R_2 = 1010.0],
+[R_1 = 100.0, R_2 = 990.0], [R_1 = 100.0, R_2 = 995.0],
+[R_1 = 100.0, R_2 = 1000.0], [R_1 = 100.0,
+R_2 = 1004.9999999999999], [R_1 = 100.0, R_2 = 1010.0],
+[R_1 = 100.49999999999999, R_2 = 990.0],
+[R_1 = 100.49999999999999, R_2 = 995.0],
+[R_1 = 100.49999999999999, R_2 = 1000.0],
+[R_1 = 100.49999999999999, R_2 = 1004.9999999999999],
+[R_1 = 100.49999999999999, R_2 = 1010.0],
+[R_1 = 101.0, R_2 = 990.0], [R_1 = 101.0, R_2 = 995.0],
+[R_1 = 101.0, R_2 = 1000.0], [R_1 = 101.0,
+R_2 = 1004.9999999999999], [R_1 = 101.0, R_2 = 1010.0]]
+@end group
+@end example
+@end defvr
+
@anchor{wc_tolappend}
@deffn {Function} wc_tolappend (@var{list})
diff --git a/share/contrib/wrstcse.mac b/share/contrib/wrstcse.mac
index 162b6cb03..1962d2e57 100644
--- a/share/contrib/wrstcse.mac
+++ b/share/contrib/wrstcse.mac
@@ -54,7 +54,7 @@ wc_systematic(wc_x,[wc_valuespertol]):=block(
wc_numoftols:length(%wc_tols),
/* Default the number of values per tolerance parameter to 3 */
- if wc_valuespertol=[] then wc_valuespertol:3 else wc_valuespertol:first(wc_valuespertol),
+ if wc_valuespertol=[] then wc_valuespertol:wc_defaultvaluespertol else wc_valuespertol:first(wc_valuespertol),
makelist(
(
subst(
@@ -113,7 +113,7 @@ wc_typicalvalues(wc_x):=
wc_mintypmax(wc_x,[wc_params]):=block([wc_allvalues,wc_param1,min,wc_typ,max],
if length(wc_params) < 1 then
- wc_param1:3
+ wc_param1:wc_defaultvaluespertol
else
wc_param1:inpart(wc_params,1),
@@ -168,6 +168,8 @@ wc_mintypmax2tol(wc_tol,wc_min,wc_typ,wc_max):=block([wc_try,wc_dff],
/* How many sigmas the range of tol[x]=-1...1 is assumed to be wide */
wc_defaultsigma:6;
+/* How many samples per tol we want the EWC method to use by default */
+wc_defaultvaluespertol:3;
defstruct(wc_rssparams(sigma,mu));
/* Determines the rss parameters of the tolerance of x */
-----------------------------------------------------------------------
Summary of changes:
doc/info/wrstcse.texi | 85 ++++++++++++++++++++++++++++++++++++++++++++---
share/contrib/wrstcse.mac | 6 ++--
2 files changed, 85 insertions(+), 6 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: dauti <da...@us...> - 2025-08-30 21:02:56
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via d0a6c82f5a9a09f6e50f3f02b2c3418923d12b29 (commit)
from 135296da4023172214503085e5ded6aee9e6e88c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d0a6c82f5a9a09f6e50f3f02b2c3418923d12b29
Author: Wolfgang Dautermann <da...@us...>
Date: Sat Aug 30 23:02:20 2025 +0200
Typos fixed.
diff --git a/doc/info/wrstcse.texi b/doc/info/wrstcse.texi
index fb62aceab..b6af9f4c0 100644
--- a/doc/info/wrstcse.texi
+++ b/doc/info/wrstcse.texi
@@ -6,8 +6,8 @@
@node Introduction to wrstcse, Functions and Variables for wrstcse, Package wrstcse, Package wrstcse
@section Introduction to wrstcse
-@code{wrstcse} provides a few aproaches to worst case calculations that are powerful enough
-for most engineering problems, but avoid the problems that make a true interval arithmetics
+@code{wrstcse} provides a few approaches to worst case calculations that are powerful enough
+for most engineering problems, but avoid the problems that make a true interval arithmetic
unfeasible for non-trivial problems:
@itemize
@item
-----------------------------------------------------------------------
Summary of changes:
doc/info/wrstcse.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: dauti <da...@us...> - 2025-08-30 20:56:05
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 135296da4023172214503085e5ded6aee9e6e88c (commit)
from d7fd3e865cf14bc4a7f1e8c8262860f333d5d4fe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 135296da4023172214503085e5ded6aee9e6e88c
Author: Wolfgang Dautermann <da...@us...>
Date: Sat Aug 30 22:55:38 2025 +0200
Windows installer: Update SBCL.
diff --git a/crosscompile-windows/sbcl/CMakeLists.txt b/crosscompile-windows/sbcl/CMakeLists.txt
index a0f5649ab..0f06dbd07 100644
--- a/crosscompile-windows/sbcl/CMakeLists.txt
+++ b/crosscompile-windows/sbcl/CMakeLists.txt
@@ -11,8 +11,8 @@
# updated setup-file automatically.
if(BUILD_64BIT)
- set(SBCLVERSION "2.5.7")
- set(SBCL_MD5 "03a6fa01d1d1d57ca1023cbf69804bfb")
+ set(SBCLVERSION "2.5.8")
+ set(SBCL_MD5 "4ad6741131b9ba0846354608883a89ae")
set(SBCL_INSTALLERNAME "sbcl-${SBCLVERSION}-x86-64-windows-binary.msi")
else()
set(SBCLVERSION "2.3.2")
-----------------------------------------------------------------------
Summary of changes:
crosscompile-windows/sbcl/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 20:38:35
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via d7fd3e865cf14bc4a7f1e8c8262860f333d5d4fe (commit)
from 7bf10dbd1da2d2fd5b7327d60e0f290ceb19af06 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d7fd3e865cf14bc4a7f1e8c8262860f333d5d4fe
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 22:37:32 2025 +0200
wrstcse/docu: Added another see also command
diff --git a/doc/info/wrstcse.texi b/doc/info/wrstcse.texi
index 4e5c8ceda..fb62aceab 100644
--- a/doc/info/wrstcse.texi
+++ b/doc/info/wrstcse.texi
@@ -209,7 +209,7 @@ If an equation uses the following values with tolerances:
be tested, instead:
@figure{wrstcse_montecarlo}
-See also @mref{wc_ewc_simplify} and @mrefdot{wc_montecarlo}
+See also @mref{wc_mintypmax} @mref{wc_ewc_simplify} and @mrefdot{wc_montecarlo}
Example:
@c ===beg===
-----------------------------------------------------------------------
Summary of changes:
doc/info/wrstcse.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 20:35:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 7bf10dbd1da2d2fd5b7327d60e0f290ceb19af06 (commit)
from f39e982fd144f806d198a4f9e9243706910c5f43 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
doc/info/figures/Makefile.am | 13 +++++++++++++
doc/info/figures/wrstcse_ewc_2.mac | 21 +++++++++++++++++++++
doc/info/figures/wrstcse_ewc_2.pdf | Bin 0 -> 8376 bytes
doc/info/figures/wrstcse_ewc_2.png | Bin 0 -> 29637 bytes
doc/info/figures/wrstcse_ewc_3.mac | 21 +++++++++++++++++++++
doc/info/figures/wrstcse_ewc_3.pdf | Bin 0 -> 8620 bytes
doc/info/figures/wrstcse_ewc_3.png | Bin 0 -> 43995 bytes
doc/info/figures/wrstcse_montecarlo.mac | 12 ++++++++++++
doc/info/figures/wrstcse_montecarlo.pdf | Bin 0 -> 19565 bytes
doc/info/figures/wrstcse_montecarlo.png | Bin 0 -> 34587 bytes
doc/info/wrstcse.texi | 15 ++++++++++++++-
11 files changed, 81 insertions(+), 1 deletion(-)
create mode 100644 doc/info/figures/wrstcse_ewc_2.mac
create mode 100644 doc/info/figures/wrstcse_ewc_2.pdf
create mode 100644 doc/info/figures/wrstcse_ewc_2.png
create mode 100644 doc/info/figures/wrstcse_ewc_3.mac
create mode 100644 doc/info/figures/wrstcse_ewc_3.pdf
create mode 100644 doc/info/figures/wrstcse_ewc_3.png
create mode 100644 doc/info/figures/wrstcse_montecarlo.mac
create mode 100644 doc/info/figures/wrstcse_montecarlo.pdf
create mode 100644 doc/info/figures/wrstcse_montecarlo.png
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 20:30:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, feature/koengu/wrstcseImages has been created
at 7bf10dbd1da2d2fd5b7327d60e0f290ceb19af06 (commit)
- Log -----------------------------------------------------------------
commit 7bf10dbd1da2d2fd5b7327d60e0f290ceb19af06
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 22:29:28 2025 +0200
wrstcse: Diagrams for the documentation
diff --git a/doc/info/figures/Makefile.am b/doc/info/figures/Makefile.am
index e1ee09800..5bc3f798b 100644
--- a/doc/info/figures/Makefile.am
+++ b/doc/info/figures/Makefile.am
@@ -141,6 +141,9 @@ worldmap_geomap3.pdf\
worldmap_geomap4.pdf\
worldmap_geomap5.pdf\
worldmap_geomap6.pdf\
+wrstcse_ewc_2.pdf\
+wrstcse_ewc_3.pdf\
+wrstcse_montecarlo.pdf\
draw_axis3d.png\
draw_allocation.png\
draw_allocation2.png\
@@ -279,6 +282,9 @@ worldmap_geomap3.png\
worldmap_geomap4.png\
worldmap_geomap5.png\
worldmap_geomap6.png\
+wrstcse_ewc_2.png\
+wrstcse_ewc_3.png\
+wrstcse_montecarlo.png\
plotting1.png plotting1.pdf\
plotting2.png plotting2.pdf\
plotting3.png plotting3.pdf\
@@ -719,6 +725,13 @@ worldmap_geomap5.png: worldmap_geomap5.mac ../docdraw.mac
worldmap_geomap5.pdf: worldmap_geomap5.mac ../docdraw.mac
worldmap_geomap6.png: worldmap_geomap6.mac ../docdraw.mac
worldmap_geomap6.pdf: worldmap_geomap6.mac ../docdraw.mac
+wrstcse_ewc_2.png: wrstcse_ewc_2.mac ../docdraw.mac
+wrstcse_ewc_2.pdf: wrstcse_ewc_2.mac ../docdraw.mac
+wrstcse_ewc_3.png: wrstcse_ewc_3.mac ../docdraw.mac
+wrstcse_ewc_3.pdf: wrstcse_ewc_3.mac ../docdraw.mac
+wrstcse_montecarlo.png: wrstcse_montecarlo.mac ../docdraw.mac
+wrstcse_montecarlo.pdf: wrstcse_montecarlo.mac ../docdraw.mac
+
# draw_color2.png isn't automatically remade since the png terminal doesn't
# support transparency
diff --git a/doc/info/figures/wrstcse_ewc_2.mac b/doc/info/figures/wrstcse_ewc_2.mac
new file mode 100644
index 000000000..6a6683db1
--- /dev/null
+++ b/doc/info/figures/wrstcse_ewc_2.mac
@@ -0,0 +1,21 @@
+load("docdraw.mac");
+
+load("wrstcse");
+pnts:wc_systematic([tol[1],tol[2]],2);
+docdraw2d("figures/wrstcse_ewc_2",
+ point_type=2,point_size=1,
+ label_alignment='center,
+ color=red,key="Samples",
+ points(map('first,pnts)+100,map('second,pnts)+100),
+ color=black,key="",
+ makelist(
+ label([sconcat(tol[1]=i[1],", ",tol[2]=i[2]),i[1]+100,i[2]+100+.2]),
+ i,pnts
+ ),
+ makelist(
+ label([sconcat(R_1=i[1]+100,", ",R_2=i[2]+100),i[1]+100,i[2]+100-.2]),
+ i,pnts
+ ),
+ xrange=[98.5,101.5],yrange=[98.5,101.5],
+ xlabel="R_1",ylabel="R_2",grid=true
+)$
\ No newline at end of file
diff --git a/doc/info/figures/wrstcse_ewc_2.pdf b/doc/info/figures/wrstcse_ewc_2.pdf
new file mode 100644
index 000000000..099a8b5cc
Binary files /dev/null and b/doc/info/figures/wrstcse_ewc_2.pdf differ
diff --git a/doc/info/figures/wrstcse_ewc_2.png b/doc/info/figures/wrstcse_ewc_2.png
new file mode 100644
index 000000000..988651f83
Binary files /dev/null and b/doc/info/figures/wrstcse_ewc_2.png differ
diff --git a/doc/info/figures/wrstcse_ewc_3.mac b/doc/info/figures/wrstcse_ewc_3.mac
new file mode 100644
index 000000000..b62a5e0f7
--- /dev/null
+++ b/doc/info/figures/wrstcse_ewc_3.mac
@@ -0,0 +1,21 @@
+load("docdraw.mac");
+
+load("wrstcse");
+pnts:wc_systematic([tol[1],tol[2]],3);
+docdraw2d("figures/wrstcse_ewc_3",
+ point_type=2,point_size=1,
+ label_alignment='center,
+ color=red,key="Samples",
+ points(map('first,pnts)+100,map('second,pnts)+100),
+ color=black,key="",
+ makelist(
+ label([sconcat(tol[1]=i[1],", ",tol[2]=i[2]),i[1]+100,i[2]+100+.2]),
+ i,pnts
+ ),
+ makelist(
+ label([sconcat(R_1=i[1]+100,", ",R_2=i[2]+100),i[1]+100,i[2]+100-.2]),
+ i,pnts
+ ),
+ xrange=[98.5,101.5],yrange=[98.5,101.5],
+ xlabel="R_1",ylabel="R_2",grid=true
+)$
\ No newline at end of file
diff --git a/doc/info/figures/wrstcse_ewc_3.pdf b/doc/info/figures/wrstcse_ewc_3.pdf
new file mode 100644
index 000000000..cbf4e472a
Binary files /dev/null and b/doc/info/figures/wrstcse_ewc_3.pdf differ
diff --git a/doc/info/figures/wrstcse_ewc_3.png b/doc/info/figures/wrstcse_ewc_3.png
new file mode 100644
index 000000000..9d2d5b1ae
Binary files /dev/null and b/doc/info/figures/wrstcse_ewc_3.png differ
diff --git a/doc/info/figures/wrstcse_montecarlo.mac b/doc/info/figures/wrstcse_montecarlo.mac
new file mode 100644
index 000000000..2f1cbe8cd
--- /dev/null
+++ b/doc/info/figures/wrstcse_montecarlo.mac
@@ -0,0 +1,12 @@
+load("docdraw.mac");
+
+pnts:makelist([random(2.0)-1,random(2.0)-1],i,1,500)$
+docdraw2d("figures/wrstcse_montecarlo",
+ point_type=2,point_size=.75,
+ label_alignment='left,
+ color=red,key="Samples",
+ points(map('first,pnts)+100,map('second,pnts)+100),
+ color=black,key="",
+ xrange=[98,102],yrange=[98,102],
+ xlabel="R_1",ylabel="R_2",grid=true
+)$
\ No newline at end of file
diff --git a/doc/info/figures/wrstcse_montecarlo.pdf b/doc/info/figures/wrstcse_montecarlo.pdf
new file mode 100644
index 000000000..4bd10aa8e
Binary files /dev/null and b/doc/info/figures/wrstcse_montecarlo.pdf differ
diff --git a/doc/info/figures/wrstcse_montecarlo.png b/doc/info/figures/wrstcse_montecarlo.png
new file mode 100644
index 000000000..b19bd3fcc
Binary files /dev/null and b/doc/info/figures/wrstcse_montecarlo.png differ
diff --git a/doc/info/wrstcse.texi b/doc/info/wrstcse.texi
index 66e7dc6a1..4e5c8ceda 100644
--- a/doc/info/wrstcse.texi
+++ b/doc/info/wrstcse.texi
@@ -194,7 +194,20 @@ Example:
Systematically introduces @var{num} values per parameter into @var{expression}
and returns a list of the result. If no @var{num} is given, @var{num} defaults
-to 3.
+to 3. Negative values for @var{num} make @code{wc_systematic} use the
+monte carlo method, instead.
+
+If an equation uses the following values with tolerances:
+
+@code{vals:[R_1=100+tol[1],R_2=100+tol[2]];}
+
+@code{num=2} will cause the following combinations of tolerances to be tested:
+@figure{wrstcse_ewc_2}
+@code{num=3} will cause the following combinations of tolerances to be tested:
+@figure{wrstcse_ewc_3}
+@code{num=-500} will cause the following combinations of tolerances to
+be tested, instead:
+@figure{wrstcse_montecarlo}
See also @mref{wc_ewc_simplify} and @mrefdot{wc_montecarlo}
-----------------------------------------------------------------------
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 10:50:39
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via f39e982fd144f806d198a4f9e9243706910c5f43 (commit)
from c9c414493e9fc62583522000191faacd2bdb9b79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f39e982fd144f806d198a4f9e9243706910c5f43
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 12:50:19 2025 +0200
wrstcse: More test cases
diff --git a/share/contrib/rtest_wrstcse.mac b/share/contrib/rtest_wrstcse.mac
index 1bdcd48df..008d06dc7 100644
--- a/share/contrib/rtest_wrstcse.mac
+++ b/share/contrib/rtest_wrstcse.mac
@@ -45,6 +45,18 @@ matrix(
);
wc_mintypmax(subst(vals,b));
[min=1,typ=2,max=3];
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],1,1,10)));
+10;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],1,1,10)));
+1;
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,10)));
+10;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,10)));
+-11;
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,1)));
+1;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,1)));
+-11;
ratsimp(wc_systematic(vals));
[[a=a,b=1],[a=a,b=2],[a=a,b=3],[a=b,b=1],[a=b,b=2],[a=b,b=3],[a=c,b=1],[a=c,b=2],[a=c,b=3]];
wc_ewc_simplify( ratsimp(wc_systematic(vals)));
@@ -77,5 +89,24 @@ wc_sensitivities((100*(tol["R2"]/100+1)*(tol["Temp"]/100+1)*U_In)/(100*(tol["R2"
matrix([tol["R2"],U_In/400],[tol["R1"],-(U_In/400)],[tol["Temp"],0]);
wc_distrib2rssparams([1,2,2,1]);
wc_rssparams(1/3,3/2);
+vals:[R_1=100*(1+1/100*tol["R1"])*(1+1/100*tol["Temp"]),R_2=200*(1+1/100*tol["R2"])*(1+1/100*tol["Temp"])];
+[R_1 = 100*(tol["R1"]/100+1)*(tol["Temp"]/100+1),
+ R_2 = 200*(tol["R2"]/100+1)*(tol["Temp"]/100+1)];
+wc_inputvalueassumptions(%);
+[R_2 >= 9801/50,R_2 <= 10201/50,R_1 >= 9801/100,R_1 <= 10201/100];
+is(R_1>R_2);
+false;
+is(R_1>90);
+true;
+is(R_1>200);
+false;
+is(R_1<200);
+true;
+is(R_1>100);
+unknown;
+(kill(R_1),done);
+done;
+(kill(R_2),done);
+done;
(kill(val1),done);
done;
-----------------------------------------------------------------------
Summary of changes:
share/contrib/rtest_wrstcse.mac | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 06:16:26
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via c9c414493e9fc62583522000191faacd2bdb9b79 (commit)
from 5cf35de5f76e1943c1d22a6dd28a3fedcbdd4143 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c9c414493e9fc62583522000191faacd2bdb9b79
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 08:16:08 2025 +0200
wrstcse: Tried to resolve the testsuite error
diff --git a/share/contrib/rtest_wrstcse.mac b/share/contrib/rtest_wrstcse.mac
index 5001f0d5d..1bdcd48df 100644
--- a/share/contrib/rtest_wrstcse.mac
+++ b/share/contrib/rtest_wrstcse.mac
@@ -75,7 +75,7 @@ subst(wc_mintypmax_rss_percent(tol[1]+.5*tol[2]+4,3),'Fail)/"ppm",ratprint=false
2699.796063260207;
wc_sensitivities((100*(tol["R2"]/100+1)*(tol["Temp"]/100+1)*U_In)/(100*(tol["R2"]/100+1)*(tol["Temp"]/100+1)+100*(tol["R1"]/100+1)*(tol["Temp"]/100+1)));
matrix([tol["R2"],U_In/400],[tol["R1"],-(U_In/400)],[tol["Temp"],0]);
-wc_montecarlo2rssparams([1,2,2,1]);
+wc_distrib2rssparams([1,2,2,1]);
wc_rssparams(1/3,3/2);
(kill(val1),done);
done;
-----------------------------------------------------------------------
Summary of changes:
share/contrib/rtest_wrstcse.mac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-30 06:05:39
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 5cf35de5f76e1943c1d22a6dd28a3fedcbdd4143 (commit)
from ef8ec91fc9e85166c16d73181a4e1b292b3b2fe8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5cf35de5f76e1943c1d22a6dd28a3fedcbdd4143
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 08:05:20 2025 +0200
wrstcse: Documented the new command
diff --git a/doc/info/wrstcse.texi b/doc/info/wrstcse.texi
index 37d98a30e..66e7dc6a1 100644
--- a/doc/info/wrstcse.texi
+++ b/doc/info/wrstcse.texi
@@ -157,6 +157,8 @@ Example:
Convenience function: Displays a list which parameter can vary between
which values.
+See also @mref{wc_mintypmax2tol} and @mrefdot{wc_inputvalueranges}
+
Example:
@c ===beg===
@c load("wrstcse")$
@@ -789,6 +791,76 @@ U_In = ------------------]
@end example
@end deffn
+@anchor{wc_inputvalueassumptions}
+@deffn {Function} wc_inputvalueassumptions (@var{expr})
+
+Often it is good practice to keep all numeric values with tolerances in a list
+and to introduce them into the equations only when needed.
+
+@code{wc_inputvalueassumptions} in this case can inform the
+@code{assume} database about the range each variable in that list will
+be in.
+
+See also @mref{wc_inputvalueranges} and @mrefdot{assume}
+
+Example:
+@c ===beg===
+@c load("wrstcse");
+@c vals:[
+@c R_1=100*(1+1/100*tol["R1"])*(1+1/100*tol["Temp"]),
+@c R_2=200*(1+1/100*tol["R2"])*(1+1/100*tol["Temp"])];
+@c float(wc_inputvalueassumptions(%));
+@c is(R_1>R_2);
+@c is(R_1>90);
+@c is(R_1>200);
+@c is(R_1<200);
+@c is(R_1>100);
+@c ===end===
+@example maxima
+@group
+(%i1) load("wrstcse");
+(%o1) /home/gunter/src/maxima-code/share/contrib/wrstcse.mac
+@end group
+@group
+(%i2) vals:[
+ R_1=100*(1+1/100*tol["R1"])*(1+1/100*tol["Temp"]),
+ R_2=200*(1+1/100*tol["R2"])*(1+1/100*tol["Temp"])];
+ tol tol
+ R1 Temp
+(%o2) [R_1 = 100 (----- + 1) (------- + 1),
+ 100 100
+ tol tol
+ R2 Temp
+ R_2 = 200 (----- + 1) (------- + 1)]
+ 100 100
+@end group
+@group
+(%i3) float(wc_inputvalueassumptions(%));
+(%o3) [R_2 >= 196.02, R_2 <= 204.02, R_1 >= 98.01, R_1 <= 102.01]
+@end group
+@group
+(%i4) is(R_1>R_2);
+(%o4) false
+@end group
+@group
+(%i5) is(R_1>90);
+(%o5) true
+@end group
+@group
+(%i6) is(R_1>200);
+(%o6) false
+@end group
+@group
+(%i7) is(R_1<200);
+(%o7) true
+@end group
+@group
+(%i8) is(R_1>100);
+(%o8) unknown
+@end group
+@end example
+@end deffn
+
@anchor{wc_sensitivities}
@deffn {Function} wc_sensitivities (@var{expr})
-----------------------------------------------------------------------
Summary of changes:
doc/info/wrstcse.texi | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
hooks/post-receive
--
Maxima CAS
|
|
From: vttoth <vt...@us...> - 2025-08-30 03:13:42
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via ef8ec91fc9e85166c16d73181a4e1b292b3b2fe8 (commit)
via 79762b2b9d798e4112b2c8abae367b97d4f513ce (commit)
from 572506ce5236e5d480c3a4fce41373f4876aec42 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ef8ec91fc9e85166c16d73181a4e1b292b3b2fe8
Author: Viktor T. Toth <vt...@vt...>
Date: Fri Aug 29 23:13:26 2025 -0400
Removed info/es/plotdf.texi from Makefile.am as it's no longer present
diff --git a/doc/info/es/Makefile.am b/doc/info/es/Makefile.am
index 40f9f9c90..e28966a7d 100755
--- a/doc/info/es/Makefile.am
+++ b/doc/info/es/Makefile.am
@@ -15,7 +15,7 @@ Indices.es.texi Input.es.texi Integration.es.texi interpol.texi Introduction.es.
lapack.texi lbfgs.texi Limits.es.texi lindstedt.texi linearalgebra.texi Lists.es.texi lsquares.texi \
makeOrders.texi MathFunctions.es.texi Matrices.es.texi maxima_pdf.texi maxima.texi minpack.texi \
Miscellaneous.es.texi mnewton.texi nset.es.texi Number.es.texi Numerical.es.texi numericalio.texi \
-Operators.es.texi opsubst.texi orthopoly.texi plotdf.texi Plotting.es.texi Polynomials.es.texi \
+Operators.es.texi opsubst.texi orthopoly.texi Plotting.es.texi Polynomials.es.texi \
Program.es.texi romberg.texi Rules.es.texi Runtime.es.texi Series.es.texi simplex.texi Simplification.es.texi \
simplifications.texi solve_rec.texi Special.es.texi stats.texi stirling.texi stringproc.texi \
Symmetries.es.texi to_poly_solve.texi unit.texi zeilberger.texi
commit 79762b2b9d798e4112b2c8abae367b97d4f513ce
Author: Viktor T. Toth <vt...@vt...>
Date: Fri Aug 29 23:11:55 2025 -0400
Added generated doc/info/Numerical.texi to .gitignore
diff --git a/doc/info/.gitignore b/doc/info/.gitignore
index b17aebcd8..f5260f67d 100644
--- a/doc/info/.gitignore
+++ b/doc/info/.gitignore
@@ -22,6 +22,7 @@ Elliptic.texi
Integration.texi
Matrices.texi
MathFunctions.texi
+Numerical.texi
Special.texi
distrib.texi
orthopoly.texi
-----------------------------------------------------------------------
Summary of changes:
doc/info/.gitignore | 1 +
doc/info/es/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-29 14:30:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 572506ce5236e5d480c3a4fce41373f4876aec42 (commit)
from bae8681eb1a1c41df5f098010e5533b3cc77d842 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 572506ce5236e5d480c3a4fce41373f4876aec42
Author: Raymond Toy <toy...@gm...>
Date: Fri Aug 29 07:29:36 2025 -0700
Move Errors and Warnings section
Move the Errors and Warnings section from the end of the manual to
after the Debugging section and before the first Package entry.
diff --git a/doc/info/include-maxima.texi.in b/doc/info/include-maxima.texi.in
index ba3270926..2f0003222 100644
--- a/doc/info/include-maxima.texi.in
+++ b/doc/info/include-maxima.texi.in
@@ -160,6 +160,9 @@ and develop DOE Macsyma, now called Maxima.
* Program Flow:: Defining Maxima programs.
* Debugging:: Debugging Maxima programs.
+@b{Understanding maxima's output}
+* Error and warning messages:: Error and warning messages
+
@b{Packages}
* Package affine:: Working with groups of polynomials.
* Package alt-display:: Alternative display.
@@ -229,9 +232,6 @@ and develop DOE Macsyma, now called Maxima.
* Package wrstcse:: Worst-case calculations for engineering.
* Package zeilberger:: Functions for hypergeometric summation.
-@b{Understanding maxima's output}
-* Error and warning messages:: Error and warning messages
-
@b{Index}
* Function and Variable Index:: Index.
@@ -838,6 +838,10 @@ Understanding maxima's output
@chapter Debugging
@include Debugging.texi
+@node Error and warning messages, , Package zeilberger, Top
+@chapter Error and warning messages
+@include errormessages.texi
+
@node Package affine, Package alt-display, Debugging, Top
@chapter Package affine
@include Affine.texi
@@ -1106,10 +1110,6 @@ Understanding maxima's output
@chapter Package zeilberger
@include zeilberger.texi
-@node Error and warning messages, , Package zeilberger, Top
-@chapter Error and warning messages
-@include errormessages.texi
-
@c end includes
@ifnothtml
-----------------------------------------------------------------------
Summary of changes:
doc/info/include-maxima.texi.in | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-28 15:12:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via bae8681eb1a1c41df5f098010e5533b3cc77d842 (commit)
from 5a10e6ea42ca1dc5bdb75c3eaaa756da85a1cd8b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bae8681eb1a1c41df5f098010e5533b3cc77d842
Author: Raymond Toy <toy...@gm...>
Date: Thu Aug 28 08:10:40 2025 -0700
Fix bad display of formula for minpack_lsquares
When displaying the help for minpack_lsquares using the text form, the
display of the least squares formula was very badly drawn and
unintelligible. This was because we forgot to wrap the text version
of the formula inside an `@example` block.
The formula now displays nicely in text form.
diff --git a/doc/info/minpack.texi.m4 b/doc/info/minpack.texi.m4
index 79bbcce45..156ef9325 100644
--- a/doc/info/minpack.texi.m4
+++ b/doc/info/minpack.texi.m4
@@ -36,6 +36,7 @@ that solve the least squares problem
m4_displaymath(
<<<\sum_i^m f_i(x_1, x_2,...,x_n)^2>>>,
<<<
+@example
m
____
╲ 2
@@ -43,6 +44,7 @@ m4_displaymath(
╱ i
‾‾‾‾
i = 1
+@end example
>>>)
@@ -153,7 +155,11 @@ in @math{n} variables:
m4_displaymath(
<<<f_i(x_1, x_2, ..., x_n) = 0>>>,
-<<<f_i(x_1, x_2, ..., x_n) = 0>>>)
+<<<
+@example
+f_i(x_1, x_2, ..., x_n) = 0
+@end example
+>>>)
The optional keyword arguments, @var{tolerance} and @var{jacobian}
provide some control over the algorithm.
-----------------------------------------------------------------------
Summary of changes:
doc/info/minpack.texi.m4 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|
|
From: willisbl <wil...@us...> - 2025-08-28 10:30:28
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 5a10e6ea42ca1dc5bdb75c3eaaa756da85a1cd8b (commit)
from 4cce12760c05f1c760142756ee96cbc580503a35 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5a10e6ea42ca1dc5bdb75c3eaaa756da85a1cd8b
Author: Barton Willis <wi...@un...>
Date: Thu Aug 28 05:30:08 2025 -0500
#4602 taylorinfo ignores asymp
- corrected `$asympt` to `$asymp` in the code for taylorinfo
- fixed serveral tests in rtest_taylor.mac
- appended new regression test in rtest_taylor.mac
No unexpected test suite failures with SBCL 2.4.7 and Clozure CL 1.13. For the share testsuite, rtest_wrstcse.mac problem 38 fails, but think that has nothing to do with this fix.
diff --git a/src/hayat.lisp b/src/hayat.lisp
index 4705be9cd..fc9a1f441 100644
--- a/src/hayat.lisp
+++ b/src/hayat.lisp
@@ -3255,8 +3255,8 @@
(if (null q) (list acc-var acc-pt acc-ord) (append q (list acc-var acc-pt acc-ord))))
(t
- (setq acc (if (and (fourth qk) (consp (fourth qk)) (eq '$asympt (caar (fourth qk))))
- (list '$asympt) nil))
+ (setq acc (if (and (fourth qk) (consp (fourth qk)) (eq '$asymp (caar (fourth qk))))
+ (list '$asymp) nil))
(push (taylor-trunc qk) acc)
(push (exp-pt qk) acc)
(push (datum-var qk) acc)
diff --git a/tests/rtest_taylor.mac b/tests/rtest_taylor.mac
index 72dd58045..47f808968 100644
--- a/tests/rtest_taylor.mac
+++ b/tests/rtest_taylor.mac
@@ -20,11 +20,11 @@ taylorinfo(taylor(x,[x,y],0,5));
taylorinfo(taylor(x,[x,y],0,5,z,a,7));
[[x,y],[0,0],[5,5],[z,a,7]]$
-(tp : taylor(x, [x, a, 5, asympt]),0);
+(tp : taylor(x, [x, a, 5, 'asymp]),0);
0$
taylorinfo(tp);
-[[x,a,5, asympt]]$
+[[x,a,5, asymp]]$
taylorinfo(taylor(taylor(x,x,a,7),y,b,9));
[[y,b,9],[x,a,7]]$
@@ -229,10 +229,15 @@ true$
/*--- asymptotic ---*/
-taylor(x + 1/x + 2/x^2,[x,inf, 2, asympt]);
+/* Previously, the next two tests misspelled `asymp` as `asympt`. But correcting the
+spelling gives the error "taylor: cannot create an asymptotic expansion at infinity."
+So after correcting `asympt` to `asymp`, these tests fail due to a limitation of the code,
+not a bug. I'm going to change [x,inf, 2, 'asymp]) to ,[x,0, 2, 'asymp]); */
+
+taylor(x + 1/x + 2/x^2,[x,0, 2, 'asymp]);
x+1/x + 2/x^2$
-taylor(x + 1/x + 2/x^2,[x, inf, 1, asympt]);
+taylor(x + 1/x + 2/x^2,[x, 0, 1, 'asymp]);
x + 1/x$
/*--- jacobian elliptic ---*/
@@ -647,3 +652,17 @@ string(taylor(x^a,[x],0,1));
/* This used to yield "+1^4*(x*y)^a" */
string(taylor((x*y)^a,[x,y],0,1));
"+(x*y)^a";
+
+/*4602 taylorinfo ignores asymp */
+taylorinfo(taylor(exp(1/x),[x,0,3,'asymp]));
+[[x, 0, 3, asymp]]$
+
+/* clean up & checks */
+(remvalue(m, mi, ts, old, qq, foo),0);
+0$
+
+contexts;
+[initial, global]$
+
+(forget(m > 0, 1 > a), facts());
+[]$
-----------------------------------------------------------------------
Summary of changes:
src/hayat.lisp | 4 ++--
tests/rtest_taylor.mac | 27 +++++++++++++++++++++++----
2 files changed, 25 insertions(+), 6 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: peterpall <pet...@us...> - 2025-08-28 07:50:01
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 4cce12760c05f1c760142756ee96cbc580503a35 (commit)
from 5e5664b33179e3a6362a0eb56d3311a910df39d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4cce12760c05f1c760142756ee96cbc580503a35
Author: Gunter Königsmann <gu...@pe...>
Date: Thu Aug 28 09:49:46 2025 +0200
wrstcse: A function that tells maxima what range which variable is in
diff --git a/share/contrib/wrstcse.mac b/share/contrib/wrstcse.mac
index 70e4fbcdf..162b6cb03 100644
--- a/share/contrib/wrstcse.mac
+++ b/share/contrib/wrstcse.mac
@@ -139,6 +139,17 @@ wc_inputvalueranges(wc_x):=apply('matrix,
)
);
+/* A function that creates assumptions on the range the input values are in */
+wc_inputvalueassumptions(wc_x):=block([wc_line,wc_assumptions:[]],
+ for wc_i in wc_x do
+ (
+ wc_line:wc_mintypmax(rhs(wc_i)),
+ push(lhs(wc_i)<=subst(wc_line,'max),wc_assumptions),
+ push(lhs(wc_i)>=subst(wc_line,'min),wc_assumptions)
+ ),
+ apply('assume,wc_assumptions)
+);
+
/* A function that generates an equation out of the min, typ and maximum value for an element */
wc_mintypmax2tol(wc_tol,wc_min,wc_typ,wc_max):=block([wc_try,wc_dff],
if wc_min>wc_typ then warning("wc_mintypmax2tol: Min value bigger than typ value"),
-----------------------------------------------------------------------
Summary of changes:
share/contrib/wrstcse.mac | 11 +++++++++++
1 file changed, 11 insertions(+)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 23:24:30
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 5e5664b33179e3a6362a0eb56d3311a910df39d5 (commit)
from a057ba96e011494ebc2f69945b964a8430d51a1f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
doc/info/commandline-options.texi | 132 ++++++++++++++++++++------------------
1 file changed, 68 insertions(+), 64 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 23:03:46
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, rtoy-update-commandline-options-section has been created
at 5e5664b33179e3a6362a0eb56d3311a910df39d5 (commit)
- Log -----------------------------------------------------------------
commit 5e5664b33179e3a6362a0eb56d3311a910df39d5
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 16:01:59 2025 -0700
Regenerate commandline options table
Use the current version of Maxima to regenerate the list of
command-line options. We also add a comment to remind future users of
how to call `list-cl-options` to generate this table.
diff --git a/doc/info/commandline-options.texi b/doc/info/commandline-options.texi
index a21033724..adfe5c32e 100644
--- a/doc/info/commandline-options.texi
+++ b/doc/info/commandline-options.texi
@@ -1,142 +1,146 @@
@anchor{command_line_options}
The following command line options are available for Maxima:
+@c The following table can be generated by maxima using:
+@c (list-cl-options *maxima-commandline-options* :texi-table-form t)
@need 100
@table @code
@need 150
-@item -b <file>, --batch=<file>
- Process maxima file <file> in batch mode.
+@item -b <file>, --batch=<file>
+ Process maxima file <file> in batch mode.
@need 150
-@item --batch-lisp=<file>
- Process lisp file <file> in batch mode.
+@item --batch-lisp=<file>
+ Process lisp file <file> in batch mode.
@need 150
-@item --batch-string=<string>
- Process maxima command(s) <string> in batch mode.
+@item --batch-string=<string>
+ Process maxima command(s) <string> in batch mode.
@need 150
-@item -d, --directories
- Display maxima internal directory information.
+@item -d, --directories
+ Display maxima internal directory information.
@need 150
-@item --disable-readline
- Disable readline support.
+@item --disable-readline
+ Disable readline support.
@need 150
-@item -g, --enable-lisp-debugger
- Enable underlying lisp debugger.
+@item -g, --enable-lisp-debugger
+ Enable underlying lisp debugger.
-@need 150
-@item -Q, --quit-on-error
- Quit, and return an exit code 1, when Maxima encounters an error.
@need 150
-@item -h, --help
- Display this usage message.
+@item -h, --help
+ Display this usage message.
@need 150
-@item --userdir=<directory>
- Use <directory> for user directory (default is %USERPROFILE%/maxima for
- Windows, and $HOME/.maxima for other operating systems).
+@item --userdir=<directory>
+ Use <directory> for user directory (default is %USERPROFILE%/maxima
+ for Windows, and $HOME/.maxima for other operating systems).
@need 150
-@item --init=<file>
- Set the base name of the Maxima & Lisp initialization files (default is
- "maxima-init".) The last extension and any directory parts are removed
- to form the base name. The resulting files, <base>.mac and <base>.lisp
- are only searched for in userdir (see --userdir option). This may be
- specified for than once, but only the last is used.
+@item --init=<file>
+ Set the base name of the Maxima & Lisp initialization files (default
+ is "maxima-init".) The last extension and any directory parts are
+ removed to form the base name. The resulting files, <base>.mac and
+ <base>.lisp are only searched for in userdir (see --userdir option).
+ This may be specified for than once, but only the last is used.
@need 150
-@item -l <lisp>, --lisp=<lisp>
- Use lisp implementation <lisp>.
+@item -l <lisp>, --lisp=<lisp>
+ Use lisp implementation <lisp>.
@need 150
-@item --list-avail
- List the installed version/lisp combinations.
+@item --list-avail
+ List the installed version/lisp combinations.
@need 150
-@item -p <file>, --preload=<file>, --preload-lisp=<file>, --init-mac=<file>, --init-lisp=<file>
- Preload <file>, which may be any file time accepted by Maxima's LOAD
- function. The <file> is loaded before any other system initialization
- is done. This will be searched for in the locations given by
- file_search_maxima and file_search_lisp. This can be specified multiple
- times to load multiple files. The equivalent options --preload-lisp,
- --init-mac, and --init-lisp are deprecated.
+@item -p <file>, --preload=<file>, --preload-lisp=<file>, --init-mac=<file>, --init-lisp=<file>
+ Preload <file>, which may be any file time accepted by Maxima's LOAD
+ function. The <file> is loaded before any other system initialization
+ is done. This will be searched for in the locations given by
+ file_search_maxima and file_search_lisp. This can be specified
+ multiple times to load multiple files. The equivalent options
+ --preload-lisp, --init-mac, and --init-lisp are deprecated.
@need 150
-@item -q, --quiet
- Suppress Maxima start-up message.
+@item -q, --quiet
+ Suppress Maxima start-up message.
+
@need 150
-@item --very-quiet
- Suppress expression labels, the Maxima start-up message, verification of the HTML index and @code{load}-ing related messages.
+@item -Q, --quit-on-error
+ Quit, and return an exit code 1, when Maxima encounters an error.
+
@need 150
-@item --very-very-quiet
- In addition to @code{--very-quiet}, set @mref{ttyoff} to @code{true} to suppress most printed output.
+@item -r <string>, --run-string=<string>
+ Process maxima command(s) <string> in interactive mode.
@need 150
-@item -r <string>, --run-string=<string>
- Process maxima command(s) <string> in interactive mode.
+@item -s <port>, --server=<port>
+ Connect Maxima to server on <port>.
@need 150
-@item -s <port>, --server=<port>
- Connect Maxima to server on <port>.
+@item --suppress-input-echo
+ Do not print input expressions when processing noninteractively.
@need 150
-@item --suppress-input-echo
- Do not print input expressions when processing noninteractively.
+@item -u <version>, --use-version=<version>
+ Use maxima version <version>.
+
@need 150
-@item -u <version>, --use-version=<version>
- Use maxima version <version>.
+@item -v, --verbose
+ Display lisp invocation in maxima wrapper script.
@need 150
-@item -v, --verbose
- Display lisp invocation in maxima wrapper script.
+@item --version
+ Display the default installed version.
@need 150
-@item --version
- Display the default installed version.
+@item --very-quiet
+ Suppress expression labels, Maxima start-up message and verification
+ of html index.
@need 150
-@item --very-quiet
- Suppress expression labels and Maxima start-up message.
+@item --very-very-quiet
+ In addition to --very-quiet, suppress most printed output by setting
+ TTYOFF to T.
@need 150
-@item -X <Lisp options>, --lisp-options=<Lisp options>
- Options to be given to the underlying Lisp
+@item -X <Lisp options>, --lisp-options=<Lisp options>
+ Options to be given to the underlying Lisp
@need 150
-@item --no-init, --norc
- Do not load the init file(s) on startup
+@item --no-init, --norc
+ Do not load the init file(s) on startup
@need 150
-@item --no-verify-html-index
- Do not verify on startup that the set of html topics is consistent with
- text topics.
+@item --verify-html-index
+ Verify on startup that the set of html topics is consistent with text
+ topics.
@end table
-----------------------------------------------------------------------
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 22:29:38
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via a057ba96e011494ebc2f69945b964a8430d51a1f (commit)
via d22405ccc6a173cb6945c20ede2e8d1d2d53d3bc (commit)
via 4f993c18acd7cc56fabf642b3b483cf2d037769d (commit)
from 6c2a3dbcdd2cd5193142120fda5b501ae568662a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a057ba96e011494ebc2f69945b964a8430d51a1f
Merge: 6c2a3dbcd d22405ccc
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 15:29:25 2025 -0700
Merge branch 'rtoy-move-commandline-runtime-sections'
-----------------------------------------------------------------------
Summary of changes:
doc/info/include-maxima.texi.in | 55 ++++++++++++++++++++---------------------
1 file changed, 27 insertions(+), 28 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 22:29:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 6c2a3dbcdd2cd5193142120fda5b501ae568662a (commit)
from a74470538d749543bb0fa4236c74322bf3625222 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6c2a3dbcdd2cd5193142120fda5b501ae568662a
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 15:14:56 2025 -0700
Update detailedmenu for affine and tensor packages
Forgot to update the detailed menu when we moved the affine and tensor
packages.
diff --git a/doc/info/include-maxima.texi.in b/doc/info/include-maxima.texi.in
index 4bee71e7c..654ff4117 100644
--- a/doc/info/include-maxima.texi.in
+++ b/doc/info/include-maxima.texi.in
@@ -371,22 +371,6 @@ Matrices and Linear Algebra
* eigen::
* Functions and Variables for Matrices and Linear Algebra::
-Package affine
-* Introduction to Affine::
-* Functions and Variables for Affine::
-
-Package itensor
-* Introduction to itensor::
-* Functions and Variables for itensor::
-
-Package ctensor
-* Introduction to ctensor::
-* Functions and Variables for ctensor::
-
-Package atensor
-* Introduction to atensor::
-* Functions and Variables for atensor::
-
Sums, Products, and Series
* Functions and Variables for Sums and Products::
* Introduction to Series::
@@ -437,6 +421,10 @@ Program Flow
Debugging
* Functions and Variables for Debugging::
+Package affine
+* Introduction to Affine::
+* Functions and Variables for Affine::
+
Package alt-display
* Introduction to alt-display::
* Functions and Variables for alt-display::
@@ -485,6 +473,10 @@ Package contrib_ode
* Test cases for contrib_ode::
* References for contrib_ode::
+Package ctensor
+* Introduction to ctensor::
+* Functions and Variables for ctensor::
+
Package descriptive
* Introduction to descriptive::
* Functions and Variables for data manipulation::
@@ -566,6 +558,10 @@ Package interpol
* Introduction to interpol::
* Functions and Variables for interpol::
+Package itensor
+* Introduction to itensor::
+* Functions and Variables for itensor::
+
Package lapack
* Introduction to lapack::
* Functions and Variables for lapack::
-----------------------------------------------------------------------
Summary of changes:
doc/info/include-maxima.texi.in | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 22:11:47
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, rtoy-move-commandline-runtime-sections has been created
at d22405ccc6a173cb6945c20ede2e8d1d2d53d3bc (commit)
- Log -----------------------------------------------------------------
commit d22405ccc6a173cb6945c20ede2e8d1d2d53d3bc
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 15:11:27 2025 -0700
Update detailedmenu too
diff --git a/doc/info/include-maxima.texi.in b/doc/info/include-maxima.texi.in
index 879157bd4..e678045db 100644
--- a/doc/info/include-maxima.texi.in
+++ b/doc/info/include-maxima.texi.in
@@ -245,6 +245,16 @@ and develop DOE Macsyma, now called Maxima.
Introduction
* Introduction to Maxima::
+Command Line
+* Introduction to Command Line::
+* Functions and Variables for Command Line::
+* Functions and Variables for Display::
+
+Runtime Environment
+* Introduction for Runtime Environment::
+* Interrupts::
+* Functions and Variables for Runtime Environment::
+
Bugs
* Bug Detection and Reporting::
@@ -252,11 +262,6 @@ Help
* Documentation::
* Functions and Variables for Help::
-Command Line
-* Introduction to Command Line::
-* Functions and Variables for Command Line::
-* Functions and Variables for Display::
-
Data Types and Structures
* Numbers::
* Strings::
@@ -403,11 +408,6 @@ Package sym
Groups
* Functions and Variables for Groups::
-Runtime Environment
-* Introduction for Runtime Environment::
-* Interrupts::
-* Functions and Variables for Runtime Environment::
-
Miscellaneous Options
* Introduction to Miscellaneous Options::
* Share::
commit 4f993c18acd7cc56fabf642b3b483cf2d037769d
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 14:34:32 2025 -0700
Move commandline options and runtime environment sections
These sections make more sense to be near the beginning of the manual
than at the end (commandline options) or the middle (runtime env).
Thus move them after the "Introduction to Maxima" chapter and before
the "Bug Detection and Reporting" chapter.
diff --git a/doc/info/include-maxima.texi.in b/doc/info/include-maxima.texi.in
index 4bee71e7c..879157bd4 100644
--- a/doc/info/include-maxima.texi.in
+++ b/doc/info/include-maxima.texi.in
@@ -119,6 +119,8 @@ and develop DOE Macsyma, now called Maxima.
@b{Maxima infrastructure}
* Introduction to Maxima:: Sample Maxima sessions.
+* Command-line options:: Which command-line options does Maxima support?
+* Runtime Environment:: Customization of the Maxima environment.
* Bug Detection and Reporting:: Finding and reporting bugs in Maxima.
* Help:: Asking for help from within a Maxima session.
* Command Line:: Maxima command line syntax, Input, and Output.
@@ -150,7 +152,6 @@ and develop DOE Macsyma, now called Maxima.
* Groups:: Abstract algebra.
@b{Advanced facilities and programming}
-* Runtime Environment:: Customization of the Maxima environment.
* Miscellaneous Options:: Options with a global effect on Maxima.
* Rules and Patterns:: User defined pattern matching and
simplification rules.
@@ -231,8 +232,6 @@ and develop DOE Macsyma, now called Maxima.
@b{Understanding maxima's output}
* Error and warning messages:: Error and warning messages
-@b{Maxima's command-line options}
-* Command-line options:: Which command-line options does Maxima support?
@b{Index}
* Function and Variable Index:: Index.
@@ -701,11 +700,19 @@ Understanding maxima's output
@c nota bene: C-c C-u C-a and texinfo-multiple-files-update will delete
@c the detailed node listing!
-@node Introduction to Maxima, Bug Detection and Reporting, Top, Top
+@node Introduction to Maxima, Command-line options, Top, Top
@chapter Introduction to Maxima
@include Introduction.texi
-@node Bug Detection and Reporting, Help, Introduction to Maxima, Top
+@node Command-line options, Runtime Environment, Introduction to Maxima, Top
+@chapter Command-line options
+@include commandline-options.texi
+
+@node Runtime Environment, Bug Detection and Reporting, Command-line options, Top
+@chapter Runtime Environment
+@include Runtime.texi
+
+@node Bug Detection and Reporting, Help, Runtime Environment, Top
@chapter Bug Detection and Reporting
@include Bugs.texi
@@ -807,15 +814,11 @@ Understanding maxima's output
@chapter Number Theory
@include Number.texi
-@node Groups, Runtime Environment, Number Theory, Top
+@node Groups, Miscellaneous Options, Number Theory, Top
@chapter Groups
@include Groups.texi
-@node Runtime Environment, Miscellaneous Options, Groups, Top
-@chapter Runtime Environment
-@include Runtime.texi
-
-@node Miscellaneous Options, Rules and Patterns, Runtime Environment, Top
+@node Miscellaneous Options, Rules and Patterns, Groups, Top
@chapter Miscellaneous Options
@include Miscellaneous.texi
@@ -1107,21 +1110,17 @@ Understanding maxima's output
@chapter Package zeilberger
@include zeilberger.texi
-@node Error and warning messages, Command-line options, Package zeilberger, Top
+@node Error and warning messages, , Package zeilberger, Top
@chapter Error and warning messages
@include errormessages.texi
-@node Command-line options, , Error and warning messages, Top
-@chapter Command-line options
-@include commandline-options.texi
-
@c end includes
@ifnothtml
-@node Function and Variable Index, , Command-line options, Top
+@node Function and Variable Index, , Error and warning messages, Top
@end ifnothtml
@ifhtml
-@node Function and Variable Index, , Command-line options, Top
+@node Function and Variable Index, , Error and warning messages, Top
@end ifhtml
@appendix Function and Variable Index
-----------------------------------------------------------------------
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 16:54:50
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via a74470538d749543bb0fa4236c74322bf3625222 (commit)
from 759268ff62e7bd984d30cf93db418090be3e8858 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a74470538d749543bb0fa4236c74322bf3625222
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 09:53:27 2025 -0700
Fix a few typos
In the last example, we didn't close off a comment so the plot2d
command was never run.
Also "he figure below" -> "The figure below"
diff --git a/doc/info/colnew.texi.m4 b/doc/info/colnew.texi.m4
index 8937f57c8..585ae184b 100644
--- a/doc/info/colnew.texi.m4
+++ b/doc/info/colnew.texi.m4
@@ -1514,7 +1514,7 @@ before @var{e} is set, so that it can be changed in the program.
@c for e_ in [1e-3,1e-4,1e-5,1e-6] do run_it(e_)$
@c /* Z is list of solutions z1 = u(x). Restore order. */
@c Z:reverse(Z)$
-@c /* Plot z1=u(x) for each value of e
+@c /* Plot z1=u(x) for each value of e */
@c plot2d([
@c [discrete,X,Z[1]], [discrete,X,Z[2]], [discrete,X,Z[3]],
@c [discrete,X,Z[4]], [discrete,X,Z[5]]],
@@ -1523,6 +1523,9 @@ before @var{e} is set, so that it can be changed in the program.
@c [png_file,"./colnew-ex5.png"]); */
@c done$
@c ===end===
+incorrect syntax: * is not a prefix operator
+ */
+ ^
@example maxima
(%i1) load("colnew")$
(%i2) kill(e,x,z1,z2)$
@@ -1723,15 +1726,15 @@ before @var{e} is set, so that it can be changed in the program.
(%i46) for e_ in [1e-3,1e-4,1e-5,1e-6] do run_it(e_)$
e: 1.000e-3 iflag 1 Mesh size 20 max error 3.217e-7
e: 1.000e-4 iflag 1 Mesh size 40 max error 3.835e-7
- e: 1.000e-5 iflag 1 Mesh size 38 max error 8.692e-9
- e: 1.000e-6 iflag 1 Mesh size 60 max error 6.861e-7
+ e: 1.000e-5 iflag 1 Mesh size 38 max error 8.689e-9
+ e: 1.000e-6 iflag 1 Mesh size 60 max error 6.333e-7
@end group
@group
(%i47) /* Z is list of solutions z1 = u(x). Restore order. */
Z:reverse(Z)$
@end group
@group
-(%i48) /* Plot z1=u(x) for each value of e
+(%i48) /* Plot z1=u(x) for each value of e */
plot2d([
[discrete,X,Z[1]], [discrete,X,Z[2]], [discrete,X,Z[3]],
[discrete,X,Z[4]], [discrete,X,Z[5]]],
@@ -1739,10 +1742,11 @@ before @var{e} is set, so that it can be changed in the program.
[xlabel,"x"],[ylabel,"u(x)"],
[png_file,"./colnew-ex5.png"]); */
done$
+(%o48) [/tmp/5zscumjmw4lichu2.gnuplot, ./colnew-ex5.png]
@end group
@end example
-he figure below shows the solution for
+The figure below shows the solution for
@math{ε=[10^{-2},10^{-3},10^{-4},10^{-5},10^{-6}]}.
@altfigure{colnew-ex5,colnew example 5: solution of a boundary value problem}
-----------------------------------------------------------------------
Summary of changes:
doc/info/colnew.texi.m4 | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
hooks/post-receive
--
Maxima CAS
|
|
From: rtoy <rt...@us...> - 2025-08-27 16:34:28
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 759268ff62e7bd984d30cf93db418090be3e8858 (commit)
from 0f4c0d819f1ce0967bb93454f4796ff0eb9a51ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 759268ff62e7bd984d30cf93db418090be3e8858
Author: Raymond Toy <toy...@gm...>
Date: Wed Aug 27 09:33:21 2025 -0700
Remove @noindent in the middle of a paragraph in colnew
makeinfo was complaining about this and we don't really need the
`@noindent` in the middle of the paragraph anyway.
diff --git a/doc/info/colnew.texi.m4 b/doc/info/colnew.texi.m4
index f069e2638..8937f57c8 100644
--- a/doc/info/colnew.texi.m4
+++ b/doc/info/colnew.texi.m4
@@ -1323,7 +1323,7 @@ This example (@pxref{ascher-et-al,,Ascher et al@comma{} 1995@comma{} Example 9.2
difficult boundary value problem using continuation.
The maxima code is in file @url{https://sourceforge.net/p/maxima/code/ci/master/tree/share/colnew/prob5.mac,share/colnew/prob5.mac} and a Fortran
implementation is in @url{https://sourceforge.net/p/maxima/code/ci/master/tree/share/colnew/ex5,share/colnew/ex5}.
-@noindent The linear differential equation is
+The linear differential equation is
m4_displaymath(
<<<
\epsilon u'' + x u' = -\epsilon \pi^2 \cos \pi x - \pi x\sin \pi x \quad -1 < x < 1
-----------------------------------------------------------------------
Summary of changes:
doc/info/colnew.texi.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Maxima CAS
|