ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 09 Feb 2019 16:09:53 -0600Algebra of functions f:Z_3 -> Rhttp://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/ I want to create an implementation of an algebra of functions with domain {0,1,2} and range in R. The sum and the product is the usual pointwise sum and product. I have the idea of represent it as a 3 dimensional vectors with the usual sum of vectors, bot I need implement a new product.
The implementation of this algebra will be used for create a polynomial system of equations that I need to solve, so the implementation should be compatible with the procedure indicated in the entry titled *Find algebraic solutions to system of polynomial equations*
If someone have any idea please help me.
Thanks in advance.Sat, 09 Feb 2019 15:01:49 -0600http://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/Comment by rburing for <p>I want to create an implementation of an algebra of functions with domain {0,1,2} and range in R. The sum and the product is the usual pointwise sum and product. I have the idea of represent it as a 3 dimensional vectors with the usual sum of vectors, bot I need implement a new product.
The implementation of this algebra will be used for create a polynomial system of equations that I need to solve, so the implementation should be compatible with the procedure indicated in the entry titled <em>Find algebraic solutions to system of polynomial equations</em>
If someone have any idea please help me.
Thanks in advance.</p>
http://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/?comment=45404#post-id-45404Do you mean $\mathbb{R}$? See also `pairwise_product`.Sat, 09 Feb 2019 16:09:53 -0600http://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/?comment=45404#post-id-45404Answer by tmonteil for <p>I want to create an implementation of an algebra of functions with domain {0,1,2} and range in R. The sum and the product is the usual pointwise sum and product. I have the idea of represent it as a 3 dimensional vectors with the usual sum of vectors, bot I need implement a new product.
The implementation of this algebra will be used for create a polynomial system of equations that I need to solve, so the implementation should be compatible with the procedure indicated in the entry titled <em>Find algebraic solutions to system of polynomial equations</em>
If someone have any idea please help me.
Thanks in advance.</p>
http://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/?answer=45403#post-id-45403At first, you can have a look to the following thematic tutorials about implementing your own algebraic structure in Sage:
- https://doc.sagemath.org/html/en/thematic_tutorials/tutorial-implementing-algebraic-structures.html
- https://doc.sagemath.org/html/en/thematic_tutorials/coercion_and_categories.html
Sat, 09 Feb 2019 15:48:15 -0600http://ask.sagemath.org/question/45402/algebra-of-functions-fz_3-r/?answer=45403#post-id-45403