reading Ralf'ss explanations again should make that clear. Actually,
this really is the strength of FriCAS. The trick is only for convenient
typing in.
Am 19.07.23 um 17:31 schrieb '68th' via FriCAS - computer algebra system:
I appreciate your help Professor Grabmeier. I must admit I'm astonished to
learn that we need tricks to do elementary algebra in a computer algebra system.
------- Original Message -------
On Tuesday, July 18th, 2023 at 8:44 PM, Prof. Dr. Johannes Grabmeier
<j.l.grabme...@gmail.com> wrote:
To Ralf's very useful remarks to answer your question let me add the
following trick, which seems to be very userful for beginners, too: The
trick is to define (interpreter) variables a, b and c which point to
objects in the desired distributed domain, which are a, b, c. This
forces the interpreter not to choose Polynomal Integer , but direktly
allows to do the desired operation in dmp.
(7) -> dmp := DMP([a,b,c], Integer)
(7) DistributedMultivariatePolynomial([a,b,c],Integer)
Type: Type
(8) -> a : dmp := a
(8) a
Type:
DistributedMultivariatePolynomial([a,b,c],Integer)
(9) -> b : dmp := b
(9) b
Type:
DistributedMultivariatePolynomial([a,b,c],Integer)
(10) -> c : dmp := c
(10) c
Type:
DistributedMultivariatePolynomial([a,b,c],Integer)
(11) -> (a+b)*c
(11) a c + b c
Type:
DistributedMultivariatePolynomial([a,b,c],Integer)
--
Mit freundlichen Grüßen
Johannes Grabmeier
Prof. Dr. Johannes Grabmeier,
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Fax: +49-(0)-991-2979592
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/31698a1c-bcf8-47db-f8f9-1b24c56dda2b%40grabmeier.net.