Discussion:
[fricas-devel] FricasUG metapatch: palindromes and eirule
Riccardo GUIDA
2018-07-09 14:33:13 UTC
Permalink
Mainly for Ralf...

--------------------------
https://github.com/fricas/fricas/blob/master/src/doc/htex/ug06.htex#L2410
REPLACE:
(s.i = s.j) and palAux?(s,i+1,i-1)
BY:
(s.i = s.j) and palAux?(s,i+1,j-1)
MOTIVATION:
IIUC, presently the function palAux? declare palindromes aggregates having equal first and last element.
This results in an wrong stream FricasUG sec 6.20, pag 218, (9)
The nine-th term
1111111111^2 = 1234567900987654321
is NOT palindrome and false would have been expected.

--------------------------
https://github.com/fricas/fricas/blob/master/src/doc/htex/ug06.htex#L2735
REPLACE:
\spadcommand{eirule integral(sin u + exp u/u, u) \free{eirule}}
BY eg:
\spadcommand{eirule integral((sin u + exp u)/u, u) \free{eirule}}
MOTIVATION:
The current example does not test the ?y pattern in FricasUG sec 6.21, pag 223, (17) as anticipated in the text.
--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
Ralf Hemmecke
2018-07-09 20:06:35 UTC
Permalink
Post by Riccardo GUIDA
--------------------------
https://github.com/fricas/fricas/blob/master/src/doc/htex/ug06.htex#L2410
(s.i = s.j) and palAux?(s,i+1,i-1)
(s.i = s.j) and palAux?(s,i+1,j-1)
IIUC, presently the function palAux? declare palindromes aggregates
having equal first and last element.
This results in an wrong stream FricasUG sec 6.20, pag 218, (9)
The nine-th term
1111111111^2 = 1234567900987654321
is NOT palindrome and false would have been expected.
Good catch!
Post by Riccardo GUIDA
--------------------------
https://github.com/fricas/fricas/blob/master/src/doc/htex/ug06.htex#L2735
\spadcommand{eirule integral(sin u + exp u/u, u) \free{eirule}}
\spadcommand{eirule integral((sin u + exp u)/u, u) \free{eirule}}
The current example does not test the ?y pattern in FricasUG sec 6.21,
pag 223, (17) as anticipated in the text.
Right. Parentheses make sense here.

Thanks.
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
Loading...