OK, I have a version that this works for now. Something I noticed is
that there could be simplifications applied inside some of the cos and
sin functions - because of the factor of I. How do you simplify inside
a cos or sin? Alternatively, how do I get the expression with common
factors of I in the
On 15 Apr, 16:27, Colin wrote:
> OK, I have a version that this works for now. Something I noticed is
> that there could be simplifications applied inside some of the cos and
> sin functions - because of the factor of I. How do you simplify inside
> a cos or sin? Alternatively, how do I get the ex
Hi,
I tried to implement Prime Fields which is the first part of my GSOC
project. I attached the patch with
this. Please review it and comment.
Thnak you,
kasun
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sy.
Hi,
I get this failing doctest:
**
File
"/mnt/data/toon/unief/research/code/work/sympy/doc/src/modules/polynomials.txt",
line 216, in polynomials.txt
Failed example:
solve_poly_system([y**2 - x**3 + 1, y*x], x, y)
Expecte
This is known. Please see
http://groups.google.com/group/sympy-patches/browse_thread/thread/f62c954c3fc948d8
There is a simple patch to fix it there (it's trivial), and Mateusz's latest
polysn branch fixes it too I think.
Aaron Meurer
On Apr 15, 2010, at 1:42 PM, Toon Verstraelen wrote:
> Hi,
Hi. Some things:
- Use lower case for file names.
- I get some test failures:
File
"/users/aaronmeurer/documents/python/sympy/sympy/sympy/abstractalgebra/test/test_primefield.py",
line 1, in
from sympy.abstractalgebra.FiniteField import PrimeField
ImportError: No module named abstractal
hi,
this is just the prime field implementation, which just provides the prime
field arithmetic and operations. There is no relationship to polynomials
unless we define galois polynomials using this prime field. In my proposal I
suggested a separate finite field implementation and this is the firs
On Thu, Apr 15, 2010 at 12:45 PM, Aaron S. Meurer wrote:
> This is known. Please see
> http://groups.google.com/group/sympy-patches/browse_thread/thread/f62c954c3fc948d8
>
> There is a simple patch to fix it there (it's trivial), and Mateusz's latest
> polysn branch fixes it too I think.
I just
I changed according to the comments. Please have a look,
kasun
On Thu, Apr 15, 2010 at 9:55 PM, Kasun Samarasinghe <
kwsamarasin...@gmail.com> wrote:
> hi,
>
> this is just the prime field implementation, which just provides the prime
> field arithmetic and operations. There is no relationship t
Does it need __repr__ and __str__ methods?
On Thu, Apr 15, 2010 at 4:39 PM, Kasun Samarasinghe
wrote:
> I changed according to the comments. Please have a look,
> kasun
>
> On Thu, Apr 15, 2010 at 9:55 PM, Kasun Samarasinghe
> wrote:
>>
>> hi,
>> this is just the prime field implementation, whi
OK.
- You need to fix the commit message. It now reads "changed patch" instead of
"Adding Implementation of Finite Fields (Prime Fields)". It also wouldn't hurt
to add more information to it.
- You misunderstood what I meant for docstrings. You want
"""
Summary of function (one line).
More i
hi aaron
yes this is only the first part as a starting point. GF(p**n) will be
implemented later.
On sub classing, I think this is a standalone module, since its a different
algebraic structure. David might have a better idea on this?
in init.py, do I need to have anything there for the time bein
i m having a problem with tests. When I run the test I get the intended
results from another python file. but when i run bin/test it fails? what can
be the possible reason. Also I get the error import failed even though i
have the sympy.abstractalgebra.finitefield module?
thanks
kasun
On Thu, Apr
I am pretty sure that it is because you need to add your things to an
abstractalgebra/__init__.py file.
Aaron Meurer
On Apr 15, 2010, at 4:10 PM, Kasun Samarasinghe wrote:
> i m having a problem with tests. When I run the test I get the intended
> results from another python file. but when i
I added
from finitefield import PrimeField to __init.py__ file at
sympy/abstractalgebra/
but i still get the test failed?
On Fri, Apr 16, 2010 at 12:13 AM, Aaron S. Meurer wrote:
> I am pretty sure that it is because you need to add your things to an
> abstractalgebra/__init__.py file.
>
> Aaro
On Thu, Apr 15, 2010 at 5:29 PM, Kasun Samarasinghe
wrote:
> hi aaron
> yes this is only the first part as a starting point. GF(p**n) will be
> implemented later.
> On sub classing, I think this is a standalone module, since its a different
> algebraic structure. David might have a better idea on
Le jeudi 15 avril 2010 à 13:46 -0600, Aaron S. Meurer a écrit :
> - I think PrimeField should subclass from Expr or Basic (though I could be
> wrong on this one).
>
No, it should not. Instances of PrimeField are equivalent to classes
like Integer or Rational. I think sympy is not quite ready for
hi aaron,
I managed to make it passed test, please give me the comment. attached the
patch with this
thank you
kasun
On Fri, Apr 16, 2010 at 12:31 AM, Ronan Lamy wrote:
> Le jeudi 15 avril 2010 à 13:46 -0600, Aaron S. Meurer a écrit :
> > - I think PrimeField should subclass from Expr or Basic
Per the issue here:
http://groups.google.com/group/sympy/browse_thread/thread/59e5dfb987963204/eca6fd634?pli=1
I have created methods which allows 'action verbs' to be called both as
global functions and as methods. Any suggestions you have would be
appreciated!
--Addison Cugini
--
You receive
Addison,
Thanks for tackling this one. I will have a look.
Cheers,
Brian
On Thu, Apr 15, 2010 at 7:35 PM, Addison Cugini wrote:
> Per the issue here:
>
> http://groups.google.com/group/sympy/browse_thread/thread/59e5dfb987963204/eca6fd634?pli=1
>
> I have created methods which allows 'action
20 matches
Mail list logo