[sage-support] Re: Digamma Function in 4.1.1

2009-09-22 Thread Burcin Erocal

On Mon, 21 Sep 2009 22:29:33 -0700 (PDT)
The_Fool masterfu...@gmail.com wrote:

snip info on how sage -br renders a binary install useless
 Typing %upgrade tells me to delete a hidden file and retry the
 command.  Sage still doesn't work after I do.  The same situation
 occurred after I reinstalled Sage, ran the program, upgraded, modified
 a file, and rebuilt again.  I may just download the source code, make
 the modification, and completely build Sage for my system.

As a workaround you can also just implement the function in a .py file
somewhere and use the load or attach commands to make it available
from Sage.

If you go this way, it would be great if you upload your implementation
somewhere, so someone can turn it into a patch for the Sage library.


Thanks.

Burcin

P.S. Sorry for not replying earlier. I'm very busy trying to finish
things before I leave for vacation next week.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] desolve_system

2009-09-22 Thread AMSALEWORK EJIGU

Hi

I have previously solved this problem using odesolve from scipy.
I am now learning SAGE.

What is wrong here? I get zerodivision from SAGE but it had a solution
in odesolve.

t = var('t')
z = function('z',t)
y1= function('y1',t)
y2= function('y2',t)

b = 0.03; r1 = 6.0; r2 = 0.5; gamma = 0.01; ro = 6.0;

De1 = diff(z,t) - b + (r1*y1 + r2*y2 + b - (gamma*y2)*z) == 0
De2 = diff(y1,t)-(r1*y1+r2*y2)*z + (ro+b-gamma*y2)*y1 == 0
De3 = diff(y2,t)-ro*y1+gamma*y2*(1-y2)+y2*b == 0
desolve_system([De1, De2, De3], [z, y1, y2])


I get this result:



Traceback (click to the left for traceback)
...
ZeroDivisionError: Symbolic division by zero

Traceback (most recent call last):
  File stdin, line 1, in module
  File /var/autofs/misc/home/amsalework/.sage/sage_notebook/
worksheets/admin/13/code/1.py, line 17, in module
desolve_system([De1, De2, De3], [z, y1, y2])
  File , line 1, in module

  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
sage/calculus/desolvers.py, line 259, in desolve_system
soln[i] = sol.sage()
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
sage/interfaces/expect.py, line 1578, in sage
return self._sage_()
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
sage/interfaces/maxima.py, line 1703, in _sage_
return symbolic_expression_from_maxima_string(repr(self))
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
sage/calculus/calculus.py, line 1677, in
symbolic_expression_from_maxima_string
return symbolic_expression_from_string(s, syms,
accept_sequence=True)
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
sage/calculus/calculus.py, line 1774, in
symbolic_expression_from_string
return parse_func(s)
  File parser.pyx, line 516, in
sage.misc.parser.Parser.parse_sequence (sage/misc/parser.c:3803)
  File parser.pyx, line 531, in
sage.misc.parser.Parser.parse_sequence (sage/misc/parser.c:3689)
  File parser.pyx, line 602, in sage.misc.parser.Parser.p_sequence
(sage/misc/parser.c:4394)
  File parser.pyx, line 692, in sage.misc.parser.Parser.p_eqn (sage/
misc/parser.c:5101)
  File parser.pyx, line 728, in sage.misc.parser.Parser.p_expr (sage/
misc/parser.c:5382)
  File parser.pyx, line 761, in sage.misc.parser.Parser.p_term (sage/
misc/parser.c:5605)
  File parser.pyx, line 803, in sage.misc.parser.Parser.p_factor
(sage/misc/parser.c:5966)
  File parser.pyx, line 830, in sage.misc.parser.Parser.p_power
(sage/misc/parser.c:6077)
  File parser.pyx, line 884, in sage.misc.parser.Parser.p_atom (sage/
misc/parser.c:6525)
  File parser.pyx, line 920, in sage.misc.parser.Parser.p_args (sage/
misc/parser.c:6924)
  File parser.pyx, line 951, in sage.misc.parser.Parser.p_arg (sage/
misc/parser.c:7223)
  File parser.pyx, line 728, in sage.misc.parser.Parser.p_expr (sage/
misc/parser.c:5382)
  File parser.pyx, line 771, in sage.misc.parser.Parser.p_term (sage/
misc/parser.c:5721)
  File element.pyx, line 1271, in
sage.structure.element.RingElement.__div__ (sage/structure/element.c:
10502)
  File expression.pyx, line 1884, in
sage.symbolic.expression.Expression._div_ (sage/symbolic/
expression.cpp:10818)
ZeroDivisionError: Symbolic division by zero

regards,
Amsale

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: desolve_system

2009-09-22 Thread David Joyner

Just a guess: your system is non-linear and that causes a problem somehow.

If you modify the linear terms you get


sage: t = var('t')
sage: z = function('z',t)
sage: y1= function('y1',t)
sage: y2= function('y2',t)
sage:
sage: b = 3/100; r1 = 6; r2 = 1/2; gamma = 1/100; ro = 6;
sage: De1 = diff(z,t) - b + (r1*y1 + r2*y2 + b - gamma*z) == 0
sage: De2 = diff(y1,t)-(r1*y1+r2*y2) + (ro+b-gamma)*y1 == 0
sage: De3 = diff(y2,t)-ro*y1+gamma*y2+y2*b == 0
sage: desolve_system([De1, De2, De3], [z, y1, y2])

[z(t) == -10/59971999*((120820*y1(0) +
10799*y2(0))*sqrt(30001)*sinh(1/100*sqrt(30001)*t) + 30001*(220*y1(0)
+ 201*y2(0))*cosh(1/100*sqrt(30001)*t))*e^(-3/100*t) +
1/1999*(1999*z(0) + 2200*y1(0) + 2010*y2(0))*e^(1/100*t),
 y1(t) == 1/30001*((y1(0) +
50*y2(0))*sqrt(30001)*sinh(1/100*sqrt(30001)*t) +
30001*cosh(1/100*sqrt(30001)*t)*y1(0))*e^(-3/100*t),
 y2(t) == 1/30001*((600*y1(0) -
y2(0))*sqrt(30001)*sinh(1/100*sqrt(30001)*t) +
30001*cosh(1/100*sqrt(30001)*t)*y2(0))*e^(-3/100*t)]

which runs fine.

I really don't know the problem though. desolve_system? says this calls Maxima.
What happens if you plug your system directly into Maxima?

On Tue, Sep 22, 2009 at 8:01 AM, AMSALEWORK EJIGU
amsalewor...@gmail.com wrote:

 Hi

 I have previously solved this problem using odesolve from scipy.
 I am now learning SAGE.

 What is wrong here? I get zerodivision from SAGE but it had a solution
 in odesolve.

 t = var('t')
 z = function('z',t)
 y1= function('y1',t)
 y2= function('y2',t)

 b = 0.03; r1 = 6.0; r2 = 0.5; gamma = 0.01; ro = 6.0;

 De1 = diff(z,t) - b + (r1*y1 + r2*y2 + b - (gamma*y2)*z) == 0
 De2 = diff(y1,t)-(r1*y1+r2*y2)*z + (ro+b-gamma*y2)*y1 == 0
 De3 = diff(y2,t)-ro*y1+gamma*y2*(1-y2)+y2*b == 0
 desolve_system([De1, De2, De3], [z, y1, y2])


 I get this result:



 Traceback (click to the left for traceback)
 ...
 ZeroDivisionError: Symbolic division by zero

 Traceback (most recent call last):
  File stdin, line 1, in module
  File /var/autofs/misc/home/amsalework/.sage/sage_notebook/
 worksheets/admin/13/code/1.py, line 17, in module
desolve_system([De1, De2, De3], [z, y1, y2])
  File , line 1, in module

  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
 sage/calculus/desolvers.py, line 259, in desolve_system
soln[i] = sol.sage()
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
 sage/interfaces/expect.py, line 1578, in sage
return self._sage_()
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
 sage/interfaces/maxima.py, line 1703, in _sage_
return symbolic_expression_from_maxima_string(repr(self))
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
 sage/calculus/calculus.py, line 1677, in
 symbolic_expression_from_maxima_string
return symbolic_expression_from_string(s, syms,
 accept_sequence=True)
  File /usr/local/src/sage-4.1.1/local/lib/python2.6/site-packages/
 sage/calculus/calculus.py, line 1774, in
 symbolic_expression_from_string
return parse_func(s)
  File parser.pyx, line 516, in
 sage.misc.parser.Parser.parse_sequence (sage/misc/parser.c:3803)
  File parser.pyx, line 531, in
 sage.misc.parser.Parser.parse_sequence (sage/misc/parser.c:3689)
  File parser.pyx, line 602, in sage.misc.parser.Parser.p_sequence
 (sage/misc/parser.c:4394)
  File parser.pyx, line 692, in sage.misc.parser.Parser.p_eqn (sage/
 misc/parser.c:5101)
  File parser.pyx, line 728, in sage.misc.parser.Parser.p_expr (sage/
 misc/parser.c:5382)
  File parser.pyx, line 761, in sage.misc.parser.Parser.p_term (sage/
 misc/parser.c:5605)
  File parser.pyx, line 803, in sage.misc.parser.Parser.p_factor
 (sage/misc/parser.c:5966)
  File parser.pyx, line 830, in sage.misc.parser.Parser.p_power
 (sage/misc/parser.c:6077)
  File parser.pyx, line 884, in sage.misc.parser.Parser.p_atom (sage/
 misc/parser.c:6525)
  File parser.pyx, line 920, in sage.misc.parser.Parser.p_args (sage/
 misc/parser.c:6924)
  File parser.pyx, line 951, in sage.misc.parser.Parser.p_arg (sage/
 misc/parser.c:7223)
  File parser.pyx, line 728, in sage.misc.parser.Parser.p_expr (sage/
 misc/parser.c:5382)
  File parser.pyx, line 771, in sage.misc.parser.Parser.p_term (sage/
 misc/parser.c:5721)
  File element.pyx, line 1271, in
 sage.structure.element.RingElement.__div__ (sage/structure/element.c:
 10502)
  File expression.pyx, line 1884, in
 sage.symbolic.expression.Expression._div_ (sage/symbolic/
 expression.cpp:10818)
 ZeroDivisionError: Symbolic division by zero

 regards,
 Amsale

 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Polynomial over a finite field using integer coefficients

2009-09-22 Thread Shing Hing Man

Conside the finite field F=GF(9),say,  and
the  polynomial ring F[x].

The elements of F are listed below.

sage: k.a = GF(9)

sage: for x in k:print x
0
2*a
a + 1
a + 2
2
a
2*a + 2
2*a + 1
1
sage: R = PolynomialRing(k,'x')
sage:
sage: x = R.0


We can  think of elements of k as integers from 0 to 8 :
0 -0
2*a -6
a + 1  - 4
a + 2  - 5
etc...


Now, (a+1) + x^2 is an element of F[x].
In Sage, is it possible to write the coeffcients as integers 0 to 8?
ie. Instead of (a +1) + x^2, can I write
4 + x^2 ?

I have tried it  and it does not work.

sage: 4 + x^2
x^2 + 1
sage:


Thanks in advance for any assistance !
Shing


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sxrange / xsrange possible bug

2009-09-22 Thread Mariah

Minh,

 Tutorials, tips and techniques on making and managing patches should
 go in the Developers' Guide at

 http://www.sagemath.org/doc/developer/

Aha!  This already has the stuff I was going to write up.

The reason that I never looked at this is that I do not consider
myself
a developer.  I found the Sage documentation for sxrange/xsrange
confusing,
William suggested I write a patch for the documentation, and I tried
to do so.

The section that you referenced Producing Patches with Mercurial is
in the second half of the Developers' Guide.  I never would have found
it without your pointing me at it.

I respectfully suggest that this section be split out to a How to
make
a Sage patch (for newbies) ... or at the very least moved to the
beginning
of the Developers' Guide.

Mariah
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Polynomial over a finite field using integer coefficients

2009-09-22 Thread Simon King

Hi Shing!

Two possibilities:

  sage: k.a = GF(9)
  sage: t=a^2+1

Now, you can learn about all possible methods for elements of k by
doing
  sage: t.TAB
(you type t, dot, and hit the tab key).
This will show you a list of possible methods.

One of the methods is called int_repr:
  sage: t.int_repr()
  '5'
So, it gives you a string, that you can easily transform into an
integer: ZZ(t.int_repr()) for a Sage integer, int(t.int_repr()) for a
Python integer.

There is also log_to_int:
  sage: t.log_to_int()
  5
Probably this last method is easier.

The inverse way is
  sage: k.fetch_int(5)
  a + 2
which is indeed the same as t:
  sage: t
  a + 2

Cheers,
Simon
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] PIL decoder jpeg not available

2009-09-22 Thread Pierre

hi all,

i've install the PIL with

sage -i pil-1.1.6

Seems to work. However when trying the following:

import Image
im= Image.open(foo.jpg)
im.convert(L)  #should convert to BW i think

i get decoder jpeg not available. It seems that the reason this
happens is explained here :

http://effbot.org/zone/pil-decoder-jpeg-not-available.htm

unfortunately, not having installed the PIL manually with a setup.py,
i don't know what to do.

Help anyone ? thanks !
Pierre
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sxrange / xsrange possible bug

2009-09-22 Thread Minh Nguyen

Hi Mariah,

On Tue, Sep 22, 2009 at 11:08 PM, Mariah mariah.le...@gmail.com wrote:

SNIP

 I respectfully suggest that this section be split out to a How to
 make
 a Sage patch (for newbies) ... or at the very least moved to the
 beginning
 of the Developers' Guide.

This is now ticket #6987

http://trac.sagemath.org/sage_trac/ticket/6987

-- 
Regards
Minh Van Nguyen

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Polynomial over a finite field using integer coefficients

2009-09-22 Thread Shing Hing Man

Thanks for the  reply!
Just one more question.
In general, if k is a finite field, what is k(i), where i is an
integer, suppose to be ?

The following example suggests k(i) will be the elements in the base
field as i varies.

sage: k.a = GF(9)
sage: for i in [0..8]:  print k(i)
:
0
1
2
0
1
2
0
1
2


Shing

On Sep 22, 4:13 pm, Simon King simon.k...@nuigalway.ie wrote:
 Hi Shing!

 Two possibilities:

   sage: k.a = GF(9)
   sage: t=a^2+1

 Now, you can learn about all possible methods for elements of k by
 doing
   sage: t.TAB
 (you type t, dot, and hit the tab key).
 This will show you a list of possible methods.

 One of the methods is called int_repr:
   sage: t.int_repr()
   '5'
 So, it gives you a string, that you can easily transform into an
 integer: ZZ(t.int_repr()) for a Sage integer, int(t.int_repr()) for a
 Python integer.

 There is also log_to_int:
   sage: t.log_to_int()
   5
 Probably this last method is easier.

 The inverse way is
   sage: k.fetch_int(5)
   a + 2
 which is indeed the same as t:
   sage: t
   a + 2

 Cheers,
 Simon
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Polynomial over a finite field using integer coefficients

2009-09-22 Thread Simon King

Hi!

On 22 Sep., 20:08, Shing Hing Man mat...@yahoo.com wrote:
 Thanks for the  reply!
 Just one more question.
 In general, if k is a finite field, what is k(i), where i is an
 integer, suppose to be ?

Apart from the TAB autocompletion, another useful way to get
information is to look into the documentation. This is possible by
putting ? after an interesting object and hit the return key:
  sage: k.a=GF(9)
  sage: k?

This will tell you:

...
EXAMPLES:

FiniteField_givaroElement are accepted where the
parent
is either self, equals self or is the prime subfield

sage: k = GF(2**8, 'a')
sage: k.gen() == k(k.gen())
True


Floats, ints, longs, Integer are interpreted modulo
characteristic

sage: k(2)
0
...


So, the integers are interpreted modulo the characteristic of the
field, certainly not modulo the size of the field.

Best regards
Simon

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] sagenb.org

2009-09-22 Thread Eric Jackson

Earlier today I signed up through sagenb.org so that I can publish my
worksheet.  The signing up process was simple, but whenever I try to
login, I receive errors.  I've checked my login information and it is
accurate.  Is there anyone else having problems?

Eric
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sagenb.org

2009-09-22 Thread William Stein

On Tue, Sep 22, 2009 at 2:04 PM, Eric Jackson eric...@comcast.net wrote:

 Earlier today I signed up through sagenb.org so that I can publish my
 worksheet.  The signing up process was simple, but whenever I try to
 login, I receive errors.  I've checked my login information and it is
 accurate.  Is there anyone else having problems?

I just logged in and computed 2+3.  However, I did get two indicators
that it was slow today (I have a monitor script).  Also, sage is
getting some discussion on slashdot right now.

I also just logged in and found that the number of sagenb.org accounts
went up from about 4000 (last time I checked 1-2 weeks go) to 7381
right now.

It looks like 249 accounts were created today, maybe.

So it's getting hammered.  It's just a dual core virtual machine.

Here's a hint -- I made some extra secret notebook servers you can
use:  demo.sagenb.org, demo2.sagenb.org.  That might be helpful.

Also, I'm actively working on a major rewrite to improve robustness
and scalability a *lot*.

William


 Eric
 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sagenb.org

2009-09-22 Thread Robert Bradshaw


On Sep 22, 2009, at 2:10 PM, William Stein wrote:


 On Tue, Sep 22, 2009 at 2:04 PM, Eric Jackson eric...@comcast.net  
 wrote:

 Earlier today I signed up through sagenb.org so that I can publish my
 worksheet.  The signing up process was simple, but whenever I try to
 login, I receive errors.  I've checked my login information and it is
 accurate.  Is there anyone else having problems?

 I just logged in and computed 2+3.  However, I did get two indicators
 that it was slow today (I have a monitor script).  Also, sage is
 getting some discussion on slashdot right now.

 I also just logged in and found that the number of sagenb.org accounts
 went up from about 4000 (last time I checked 1-2 weeks go) to 7381
 right now.

 It looks like 249 accounts were created today, maybe.

 So it's getting hammered.  It's just a dual core virtual machine.

I wonder if this is a contributing factor:

http://science.slashdot.org/story/09/09/22/1512237/Finding-the-First- 
Trillion-Congruent-Numbers

(Of course, it'll be nice when we can just handle this kind of  
load...)

- Robert


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sagenb.org

2009-09-22 Thread Eric Jackson

Thanks William, I input demo.sagenb.org into my google search box and  
came to a website called Symmetric Group (Demo) Sage.  However, how  
can I upload my worksheet, so that others can view it?  Also, for a  
while, I thought the problem of logging in was me, so I created other  
accounts that you can delete.  All of the accounts were created today  
within minutes of one another.  The user names for the accounts that  
you can delete are 19eric, eric19., and eric19.

Thanks,
Eric


On Sep 22, 2009, at 2:10 PM, William Stein wrote:


 On Tue, Sep 22, 2009 at 2:04 PM, Eric Jackson eric...@comcast.net  
 wrote:

 Earlier today I signed up through sagenb.org so that I can publish my
 worksheet.  The signing up process was simple, but whenever I try to
 login, I receive errors.  I've checked my login information and it is
 accurate.  Is there anyone else having problems?

 I just logged in and computed 2+3.  However, I did get two indicators
 that it was slow today (I have a monitor script).  Also, sage is
 getting some discussion on slashdot right now.

 I also just logged in and found that the number of sagenb.org accounts
 went up from about 4000 (last time I checked 1-2 weeks go) to 7381
 right now.

 It looks like 249 accounts were created today, maybe.

 So it's getting hammered.  It's just a dual core virtual machine.

 Here's a hint -- I made some extra secret notebook servers you can
 use:  demo.sagenb.org, demo2.sagenb.org.  That might be helpful.

 Also, I'm actively working on a major rewrite to improve robustness
 and scalability a *lot*.

 William


 Eric





 -- 
 William Stein
 Associate Professor of Mathematics
 University of Washington
 http://wstein.org

 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Logic minimization

2009-09-22 Thread Minh Nguyen

Hi Luis,

On Wed, Sep 23, 2009 at 6:44 AM, lastras last...@gmail.com wrote:


 I am looking for a boolean logic minimization toolset for sage. It
 does not seem to be part of the standard package, is there anything
 you might know about this?

Sage modules under sage/logic deal with symbolic logic. AFAIK boolean
logic minimization is not yet in Sage. However, ticket #5910 [1] has a
patch that implements the Quine-McCluskey algorithm for minimizing
logic expressions. The patch is more or less self-contained and nobody
has touched it in 5 months. It needs some polishing before getting
into Sage. Any volunteers? :-)

[1] http://trac.sagemath.org/sage_trac/ticket/5910

-- 
Regards
Minh Van Nguyen

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: latex/jsmath error

2009-09-22 Thread Mikie

Can I do
---
gcc  (with C++ support)
make--out
m4-- out
per-- out
ranlib--out
tar--out
latex -- just this
--

On Sep 14, 6:36 pm, William Stein wst...@gmail.com wrote:
 On Mon, Sep 14, 2009 at 1:21 PM, Mikie thephantom6...@hotmail.com wrote:

  This is from debug
  cd /root/.sage/temp/Ralph/5161/dir_1 sage-native-execute latex
  \\nonstopmode \\input{sage8.tex}   sage-native-execute dvips
  sage8.dvi
   sage-native-execute convert -density 130x130 -trim sage8.ps
  sage8.png

  /var/www/html/sage/local/bin/sage-native-execute: line 8: latex:
  command
  not found

 You need to install latex.

 William
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sagenb.org

2009-09-22 Thread Dan Drake
On Tue, 22 Sep 2009 at 02:04PM -0700, Eric Jackson wrote:
 Earlier today I signed up through sagenb.org so that I can publish my
 worksheet.  The signing up process was simple, but whenever I try to
 login, I receive errors.  I've checked my login information and it is
 accurate.  Is there anyone else having problems?

There's also http://sagenb.kaist.ac.kr which hosts two public notebook
servers, and within a couple weeks, will be running on better hardware.

Dan

-- 
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


[sage-support] Re: Digamma Function in 4.1.1

2009-09-22 Thread The_Fool

I meant to say that I created the polygamma function as psi(order,x),
not polygamma(order,x).
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Digamma Function in 4.1.1

2009-09-22 Thread The_Fool

I managed to create the symbolic polygamma function as psi(order,x).
Psi is limited in what it can do, though.  I can get it to grab
special values from Maxima's or GiNaC's table, but I still cannot get
it to approximate any value of any integer order.  It can be
differentiated, but not integrated.  It seems that this is a
limitation of Maxima and GiNaC, not Sage.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: PIL decoder jpeg not available

2009-09-22 Thread Marshall Hampton

What operating system are you using?

-M. Hampton

On Sep 22, 10:14 am, Pierre pierre.guil...@gmail.com wrote:
 hi all,

 i've install the PIL with

 sage -i pil-1.1.6

 Seems to work. However when trying the following:

 import Image
 im= Image.open(foo.jpg)
 im.convert(L)  #should convert to BW i think

 i get decoder jpeg not available. It seems that the reason this
 happens is explained here :

 http://effbot.org/zone/pil-decoder-jpeg-not-available.htm

 unfortunately, not having installed the PIL manually with a setup.py,
 i don't know what to do.

 Help anyone ? thanks !
 Pierre
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---