Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Maarten Derickx
On Fri, Sep 2, 2011 at 5:25 AM, Santanu Sarkar
 wrote:
> For mozilla firefox, it is perfect. I dont known about other browsers.
>
Then it's probably not a sage issue since your chrome version is
really outdated. You say you have 5.0.375.70 but the latest stable
release is already version 13.

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Santanu Sarkar
For mozilla firefox, it is perfect. I dont known about other browsers.

On 1 September 2011 15:30, Maarten Derickx wrote:

> Maybe it's time to install a newer version of sage. 4.2 is quite old now,
> the latest stable release is now 4.7.1. Could you please, still also answer
> my question if it is only in chrome or also in other browsers you have
> installed?
>
> --
> 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
> URL: http://www.sagemath.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
URL: http://www.sagemath.org


Re: [sage-support] integral() error

2011-09-01 Thread Justin C. Walker

On Sep 1, 2011, at 19:31 , robin hankin wrote:

> Hi.
> 
> sage 4.7.1, macosx 10.6.8, firefox 5.0.
> 
> When I use the sage notebook the following happens:
> 
> 
> var('x')
> integral(exp(x),x)
> 
> 
> Traceback (click to the left of this block for traceback)
> ...
> RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.

I just tried this with your configuration (Mac OS X, 10.6.8, and Sage 4.7.1, 
using Firefox 5.0.1, and also Safari 5.1), and I don't get an error.

I'm not sure what the deal is.  It's possible that your ECL or maxima 
installation is borked.  Did you install a pre-built binary, or build from 
source?  If the latter, you might check the "install.log" (in $SAGE_ROOT) for 
signs of problems [although that may induce catatonia :-}].

Justin

--
Justin C. Walker
Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
--
Build a man a fire and he'll be warm
 for a night.
Set a man on fire and he'll be warm
 for the rest of his life.

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: integral() error

2011-09-01 Thread Maarten Derickx
I have OS X 10.6.8 also but I don't have the same version of sage installed 
currently as you (I have sage 4.7.2.alpha2 and 4.6.1) and I don't seem to be 
able to replicate your error in both the older and the newer install. I 
don't have firefox so could you please try it from the command line (i.e. a 
sage terminal session) to rule out the unlikely case the the macsyma error 
is caused by firefox?

I guess since everything works ok for me, installing a newer version of sage 
should make your problem go away.

-- 
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
URL: http://www.sagemath.org


[sage-support] integral() error

2011-09-01 Thread robin hankin
Hi.

sage 4.7.1, macosx 10.6.8, firefox 5.0.

When I use the sage notebook the following happens:


var('x')
integral(exp(x),x)


Traceback (click to the left of this block for traceback)
...
RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.



What's the deal?





-- 
Robin Hankin
Uncertainty Analyst
hankin.ro...@gmail.com

-- 
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
URL: http://www.sagemath.org


[sage-support] Labels and others in 3D plots

2011-09-01 Thread Jotace
Hi all,

I'm trying to make 3D plots but I'm not able to:
1. Put labels on the axes,
2. Create a surface, say F(x,y,z)=0, of z=f(x,y) together with some
level curves. The only level curves I can plot lie on a 2d plot.

On the ther hand I'can't figure what's wrong with:

var('x, y, z');
@interact
def _(a=(-1,1,.1),b=(-1,1,.1),c=(-2,2,.2)):
A1 = implicit_plot3d(z==c,(x,-2.1,2),(y,-2,2),(z,-2,2),
color='red', opacity=0.25, axes=true)
A2 = implicit_plot3d(y==c,(x,-2.1,2),(y,-2,2),(z,-2,2),
color='orange', opacity=0.25, axes=true)
A3 = implicit_plot3d(x==c,(x,-2.1,2),(y,-2,2),(z,-2,2),
color='green', opacity=0.25, axes=true)
S = plot3d(a*x^2-b*y^2,(x,-2,2),(y,-2,2))
def _(which_figure=[A1,A2,A3]):
 show(S+which_figure)

I'm trying to make a single plot in which I can show to my students
the intersections of a surface with the planes x, y, z= constant,
choosing which plane, and at what value to show together with the
surface.

Thanks

JC

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread Maarten Derickx
The way to do this is probably to change the CFLAGS that are exported in the 
pari install script. You find all pari related stuff in the pari spkg, this 
is located in $SAGE_ROOT/spkg/standard . Note that this is a compressed file 
so you have to untar it first. 
On http://www.sagemath.org/doc/developer/producing_spkgs.html there is 
documentation on how to modify/create an spkg.
In that spkg-install file contained in the pari spkg you should modify the 
part that reads:

# Set CFLAGS
if [ "$SAGE_DEBUG" = yes ]; then
# Disable optimisation, add debug symbols.
CFLAGS="$CFLAGS -O0 -g"
else
# Use PARI's default CFLAGS (with -g added).
# PARI's Configure adds -O3 to the CFLAGS, so we don't need to add
# it explicitly.
CFLAGS="-g $CFLAGS"
fi

export CFLAGS

Or apparently after having unzipped it and read the file myself it would be 
easier to not change the spkg and just do

export SAGE_DEBUG=yes

before building.

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread Maarten Derickx
Someone else had the exact same problem on sage-devel. Maybe the solution is 
here https://groups.google.com/d/topic/sage-devel/aL8b9phz3Xc/discussion

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: labels in plots

2011-09-01 Thread kcrisman


On Sep 1, 3:45 pm, Jason Grout  wrote:
> On 9/1/11 2:16 PM, MathLynx wrote:
>
> > plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[.
> > 5,None])
>
> Try this:
>
> from matplotlib import ticker
> plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,
> thickness=2,ticks=[.5,None],
> tick_formatter=ticker.FormatStrFormatter('%g'))
>

We may want to expose more of these tickers, Jason.  Especially
because it seems like we are still occasionally getting plots where
the labels are a little weird because of the big/small numbers.  I'm
sorry I can't be more clear about this.  Is there a ticket open for
making some of these other formatters/tickers easier to use from
within Sage?

- kcrisman

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: labels in plots

2011-09-01 Thread Jason Grout

On 9/1/11 2:16 PM, MathLynx wrote:

plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[.
5,None])


Try this:

from matplotlib import ticker
plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,
thickness=2,ticks=[.5,None],
tick_formatter=ticker.FormatStrFormatter('%g'))


Do:

from matplotlib import ticker
ticker?

to read some more of the documentation for formatters that you could use.

Thanks,

Jason

--
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
URL: http://www.sagemath.org


[sage-support] labels in plots

2011-09-01 Thread MathLynx
I entered

plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[.
5,None])

and got a plot where the tick marks were at the correct places but the
labels were of the form 3.819e-1 and 3.82e-1.  How do I get them to
read  .3819, .38195 and .382 (or .3820)?

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: Field of rational functions??

2011-09-01 Thread MathLynx
Egad!  I just got pummeled!  This will take a while to absorb -
thanks, Simon.  Just starting on the learning curve...

On Aug 31, 6:04 am, Simon King  wrote:
> Hi!
>
> On 31 Aug., 09:50, MathLynx  wrote:
>
> > Thanks!  But the question remains, how do I force the addition  1/x +
> > 1/y  to give  (x+y)/(x*y) ?
>
> I don't understand your question. Didn't you try to simply type it in?
>
> sage: R. = QQ[]
> sage: 1/x+1/y
> (x + y)/(x*y)
>
> Aha! It seems that you did not start with polynomials but with
> symbolic variables, that only *look* like polynomials.
>   sage: var('x y')
>   (x, y)
>   sage: 1/x+1/y
>   1/x + 1/y
>
> It really depends on your application whether it is better to use
> polynomials or symbolic expressions. In one application, symbolic
> expressions might be totally inefficient, in another application
> polynomials might not provide all necessary functionality.
>
> Anyway. If you want to simplify the above symbolic expression, you can
> use various simplification methods:
>  sage: p = 1/x+1/y
>  sage: p
>  1/x + 1/y
>  sage: p.simplify_rational()
>  (x + y)/(x*y)
>
> See below on how to find all the simplification methods, e.g., by
>  completion.
>
> > Also, where do I find such a command as fraction_field?
>
> First, let me point out that in the first example above, the fraction
> field is automatically created when you have a division by an element
> of R (which in the example is a polynomial ring with two variables
> over the rationals). So, perhaps there is no need that *you*
> explicitly construct that ring?
>
> When you want to find a certain functionality, you have a lot of
> options in Sage.
>
> 1. If you have a guess how a function might be called, you can simply
> search the references.
>
> Searching "rational functions" onhttp://www.sagemath.org/search.html
> gives many answers, among them:
>  *http://www.sagemath.org/doc/reference/sage/rings/fraction_field_eleme...,
> telling you that you may create a fraction field in functional
> notation, by FractionField(PolynomialRing(QQ,'x'))
>  *http://www.sagemath.org/doc/constructions/polynomials.html#evaluation...,
> which also implies how to construct a rational function without
> explicitly creating the fraction field.
>
> 2. You can also search the Sage sources.
>  a) There is the function "search_def", that searches for the names
> occuring in definitions. In that case (searching "rational function"
> or "fraction field") it did not return anything useful. But you can
> guess that Python programmers would call a function "fraction_field"
> or "FractionField". Thus:
>
> sage: search_def("fraction_field")
> rings/integer_ring.pyx:689:    def fraction_field(self):
> rings/ring.pyx:1128:    def fraction_field(self):
> rings/ring.pyx:1157:    def _pseudo_fraction_field(self):
> rings/ring.pyx:1899:    def fraction_field(self):
> rings/ring.pyx:1921:    def _pseudo_fraction_field(self):
> rings/infinity.py:487:    def fraction_field(self):
> rings/infinity.py:785:    def fraction_field(self):
> rings/ring.pxd:11:    cdef public object __fraction_field
> rings/power_series_ring.py:1017:    def fraction_field(self):
> rings/polynomial/polynomial_ring.py:1726:    def fraction_field(self):
> rings/polynomial/polynomial_ring.py:1749:    def fraction_field(self):
> rings/finite_rings/integer_mod_ring.py:504:    def
> _pseudo_fraction_field(self):
> rings/padics/padic_extension_generic.py:216:    def
> fraction_field(self, print_mode=None):
> rings/padics/padic_base_generic.py:45:    def fraction_field(self,
> print_mode=None):
> rings/padics/padic_base_leaves.py:407:    def fraction_field(self,
> print_mode = None):
> rings/number_field/order.py:698:    def fraction_field(self):
>
> sage: search_def("FractionField")
> ext/interactive_constructors_c.pyx:115:def FractionField(*args,
> **kwds):
> rings/fraction_field_element.pyx:49:def is_FractionFieldElement(x):
> rings/fraction_field_element.pyx:66:cdef class
> FractionFieldElement(FieldElement):
> rings/fraction_field.py:87:def FractionField(R, names=None):
> rings/fraction_field.py:140:def is_FractionField(x):
> rings/contfrac.py:958:def ContinuedFractionField():
> rings/polynomial/polynomial_element.pyx:35:cdef is_FractionField,
> is_RealField, is_ComplexField
>
> 3. a) Tab completion is also a very helpful tool when you have a guess
> how a method is called. Recall that Sage's underlying language is
> Python. Usually, functionality provided by an object is available by
> methods of that object. If you have a guess on how the method name may
> start with, you simply start to write and then hit the  key.
>
>  sage: R = QQ['x','y']
>  sage: R.frac
> yields R.fraction_field as only completion.
>
> Back to the symbolic expression p defined above. You wanted to
> simplify the sum of fractions. So, a reasonable guess is that you need
> a method whose name starts with "simpli". You find:
>  sage: p.simpli< hit tab key>
>  p.simplify            p.simplify_factorial  p.simplify_log
> p.simplify_r

[sage-support] Re: Sums of Modular Symbols continuing saga

2011-09-01 Thread chris wuthrich
 Hello Jack,

 typically you want

sage: E = EllipticCurve("11a1")
sage: m = 5
sage: ms = E.modular_symbol()
sage: chi = DirichletGroup(m).0
sage: chi
Dirichlet character modulo 5 of conductor 5 mapping 2 |--> zeta4
sage: sum( (chi^2)(a) * ms(a/m) for a in [1..(m-1)] )
5

The symbol ms is already divided by the correct period of E. In
particular ms(0) is L(E,1)/Omega. See the documentation in
ell_modular_symbols.py .

Don't hestitate to ask me directly for more help, I have done a lot of
such sums recently.

Chris.


On Aug 31, 9:35 pm, jack  wrote:
> I appreciated your previous responses on this subject. I would now
> like to apply these modular symbols to elliptic curves.  In
> particular, I want to compute the algebraic value of a twisted L-
> function by applying Birch's theorem in [MTT]
>
> That is L(E,1,chi)^{alg} = sum_{a mod,m) chi(a)*{a,m}/Omega
>
> For this to work, the modular symbols need to translate to real
> numbers and I don't see the appropriate functions to perform this.
>
> Best Wishes,
>                    Jack Fearnley

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: how does one do this in Cython?

2011-09-01 Thread john_perry_usm
On Sep 1, 4:50 am, Martin Albrecht 
wrote:
> Funny you should ask because this was just fixed at SD32 where we ran
> into each other:
>
> http://trac.sagemath.org/sage_trac/ticket/11680

I actually read part of that ticket when I was there, though a lot
more took place after that.

> once it is merged you can write $SAGE_ROOT in these pragmas :)

Awesome. :-)

john

-- 
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
URL: http://www.sagemath.org


[sage-support] compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread js...@crt.xerox.com
I tried to build sage 4.7.1 from source under OpenSuSE 11.2 (just typing 
"make", nothing fancy), and it gets quite far. When it hits 
"../src/basemath/base3.c" (under the pari subsection) the compiler hangs. 
The compiler section (gcc) is "cc1", and it appears to suck up memory as if 
it has a memory leak. I let it chew on "base3.c" for about 15 minutes and 
the compiler has allocated 8+ GB of memory, with no end in sight. 

I realize that this is an old compiler bug, but has anyone got a way to 
compile 4.7.1 under OpenSuSE 11.2? Changing the compiler's optimization flag 
from -O3 to -O1 (or -O0) in the peri subdirectories will likely do the 
trick, but I have not been able to figure out how to do this. The build 
process seems to regenerate the pari configuration scripts with -O3, no 
matter what I try. 

Tnx ... John G. Shaw




-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Bug in Graph.is_chordal

2011-09-01 Thread Nathann Cohen
Hello !

I'm finally back to the civilisation if you want us to deal with this patch :-)

Nathann

On 29 August 2011 15:46, Nathann Cohen  wrote:
> Hello Jan !!!
>
> I am sorry for my vry slow answers, I am on vacation right now, with
> very very bad WiFi connections when I get some. If you think you would sleep
> better with copying the implementation given in the paper, then the best is
> probably to write a patch for this. I like mine better, just because I feel
> like I understand how it works, but to be honest I do not really mind in
> this case as it is so easy to check whether the code is correct. What
> would you think of writing a patch to change the current behaviour to match
> the paper using your code, while letting my version of it (the updated/fixed
> one) in the code as a comment ?
>
> Before returning the result, it should be checked, for instance like I did
> in my patch. If at some point the value returned is incorrect, the exception
> should be
> "There was an error in the computed answer... Please report the bug" or
> something alike so that we quickly learn of it and fix the mistake. What do
> you think ?
>
> What I fear the most are silent mistakes.. The ones you do not notice. In
> these situations I don't mind Sage answering me that it wasn't able to do
> the computations, especially when the patch is already written :-)
>
> If you have time to create the patch, I will try to review it as soon as I
> get back to the civilisation (possibly next friday). Otherwise we'll talk
> about it then :-)
>
> Thank you for your work, by the way !
>
> Nathann

-- 
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
URL: http://www.sagemath.org


[sage-support] Searching a Matrix Space (Transportation Matrices)

2011-09-01 Thread Vince
Hi all,

I need to evaluate a function over an entire space of {0,1}
Transportation Matrices (with a given row and column sum). I'm just
beginning with SAGE so would be happy with any pointers in the right
direction...

Thanks,
Vince

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: [Visualpython-users] SAGE and Visual Python

2011-09-01 Thread Jason Grout

On 8/29/11 10:35 AM, Adam O Hausknecht wrote:

Hi all,

Is there away to import Visual Python into the Sage
(http://www.sagemath.org/)
which uses Python as its language?


Here is a mailing list post from the Sage development list about this:

http://groups.google.com/group/sage-devel/browse_thread/thread/c729f20eff044cbf/6564f7ec263d4627?lnk=gst&q=vpython#6564f7ec263d4627

A long time ago, a sage developer made an experimental Sage package for 
vpython.  I don't know if it's been updated for several years.


I'd suggest continuing the conversation on sage-support (and maybe here 
too) if people are interested.


Thanks,

Jason

--
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
URL: http://www.sagemath.org


Re: [sage-support] Re: exact vs approximate values

2011-09-01 Thread Laurent




If you prefer functions: There is also an "n" function.
   sage: n(r)
   1.77241469651904


Since the symbol "n" is often override, I prefer to use the explicit name:

sage: numerical_approx(r)

Just my SR(2) cents
Laurent

--
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
URL: http://www.sagemath.org


[sage-support] Re: Can't build sage library

2011-09-01 Thread dkrumm
Great! So it looks like maybe it'll be working soon.

On Aug 31, 11:00 pm, Maarten Derickx 
wrote:
> Ok, I re asked the question on sage devel.
> Seehttps://groups.google.com/forum/#!forum/sage-develfor the most recent
> status.

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Maarten Derickx
Maybe it's time to install a newer version of sage. 4.2 is quite old now, the 
latest stable release is now 4.7.1. Could you please, still also answer my 
question if it is only in chrome or also in other browsers you have installed?

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: how does one do this in Cython?

2011-09-01 Thread Martin Albrecht
Funny you should ask because this was just fixed at SD32 where we ran
into each other:

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

once it is merged you can write $SAGE_ROOT in these pragmas :)

On 31 August 2011 19:17, john_perry_usm  wrote:
> Hi Martin,
>
> Sorry for the long reply; I looked at the solution a long time ago &
> it seems to work. A natural question, naturally :-) is there an easier
> way to specify the include directory? after all, this changes by
> machine & version.
>
> john
>
> On Jul 25, 8:34 am, Martin Albrecht 
> wrote:
>> Hi John,
>>
>> see attachment. You'll have to change the cinclude path for it to work on 
>> your
>> machine.
>>
>> On Monday 25 July 2011, john_perry_usm wrote:
>>
>> > On Jul 25, 6:46 am, Martin Albrecht 
>>
>> > wrote:
>> > > You'll need to compile your extension module (i.e. your pyx file) with
>> > > C++ instead of C. See
>>
>> > >http://sagemath.org/doc/developer/coding_in_cython.html#special-pragmas
>>
>> > From that link, I understood that I need to prepend
>>
>> >     # clang: C++
>>
>> > to the file. I get the same errors.
>>
>> > john
>>
>> Cheers,
>> Martin
>>
>> --
>> name: Martin Albrecht
>> _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
>> _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
>> _www:http://martinralbrecht.wordpress.com/
>> _jab: martinralbre...@jabber.ccc.de
>>
>>  singular.spyx
>> < 1KViewDownload
>
> --
> 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
> URL: http://www.sagemath.org
>



-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinralbre...@jabber.ccc.de

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: Displayed output getting cut off in notebook mode using html() and latex.eval()

2011-09-01 Thread Rob
I sort-of fixed it by changing the LATEX_HEADER string in latex.py to
read '\textwidth 999in' instead of '\textwidth 6.45in' and then doing
a 'sage -b'.

I still don't know how to get jsmath to work properly, but it's not as
important now.

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Santanu Sarkar
Dear Maarten,
  Sorry for delay. Version of my Chrome is 5.0.375.70.
I have written programs in SAGE 4.2 over Linux Ubuntu 8.04 on a computer
with Dual CORE Intel(R) Pentium(R).

With regards,
Santanu


On 26 August 2011 13:46, Maarten Derickx wrote:

> Dear Santanu,
>
> I work myself with sage an google chrome to and it's working for me. See
> below for an example. Could you please tell me which version of Chrome you
> are running and on which operating system. The version of sage you are using
> (or the adress of the webserver). And could you also please tell if you
> experience the same problem in other browsers then chrome.
>
>
> 
>
>
> --
> 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
> URL: http://www.sagemath.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
URL: http://www.sagemath.org