[sage-support] Question about Free algebra

2015-06-08 Thread Viviane Pons
Hi everyone, I'm doing this: sage: FreeA. = FreeAlgebra(QQ,implementation="letterplace") sage: P = a*b*a*c*c*b + a*b*a*d*d*b + a*c*a*d*d*c + b*c*b*d*d*c sage: X = P.lm() sage: X a*b*a*c*c*b And now I would like a way to "cut" my element X into two factors of a given size. Something like sage: u

Re: [sage-support] Induction method

2015-06-08 Thread avi kaur
On Tue, Jun 9, 2015 at 1:19 AM, David Joyner wrote: > On Mon, Jun 8, 2015 at 3:37 PM, avi kaur wrote: >> Hello Everyone >> >> >> Is it possible to solve Induction problems in sage. If yes then how? >> > > Can you give an example of what you want? > For example, do you mean solve a recursive equat

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-08 Thread Fausto A. A. Barbuto
On Monday, 8 June 2015 22:11:08 UTC-3, kcrisman wrote: > > > > On Monday, June 8, 2015 at 8:17:29 PM UTC-4, Fausto A. A. Barbuto wrote: >> >> >> Hello, >> >> Is there a command to save a plot generated by parametric_plot3d()? >> Like, say: >> >> P = >> parametric_plot3d([x,y,z],(u,-10.0,10.0),(v

[sage-support] Re: Saving parametric_plot3d() plots

2015-06-08 Thread kcrisman
On Monday, June 8, 2015 at 8:17:29 PM UTC-4, Fausto A. A. Barbuto wrote: > > > Hello, > > Is there a command to save a plot generated by parametric_plot3d()? Like, > say: > > P = > parametric_plot3d([x,y,z],(u,-10.0,10.0),(v,-10.0,10.0),plot_points=[50,50],frame=False,color=(fc,colormaps.jet))

[sage-support] Saving parametric_plot3d() plots

2015-06-08 Thread Fausto A. A. Barbuto
Hello, Is there a command to save a plot generated by parametric_plot3d()? Like, say: P = parametric_plot3d([x,y,z],(u,-10.0,10.0),(v,-10.0,10.0),plot_points=[50,50],frame=False,color=(fc,colormaps.jet)) P.save('somename.png') Thanks in advance for any light shed on this matter. Fausto --

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread François Colas
Dominique gave the right hint because the folder in the env variable didn't exist: sage: env SAGE_DOC '/usr/share/doc/sage' The problem is solved by installing the package 'community/sagemath-doc 6.7-1' (on Manjaro Linux) and we can check: $ ls /usr/share/doc/sage/ ca/ common/ de/ en/ fr/

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread Volker Braun
This is now http://trac.sagemath.org/ticket/18642 On Tuesday, June 9, 2015 at 12:11:52 AM UTC+2, Volker Braun wrote: > > You have a file named "conf.py" in the current working directory. A > workaround is to start Sage in a different directory. > > > > On Monday, June 8, 2015 at 3:01:52 PM UTC+2,

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread Volker Braun
You have a file named "conf.py" in the current working directory. A workaround is to start Sage in a different directory. On Monday, June 8, 2015 at 3:01:52 PM UTC+2, François Colas wrote: > > Hello everyone, > > I'm facing an error with the question mark after any kind of function. > Here is

[sage-support] Re: cf_gmp.h fails on Cython file in sage-beta

2015-06-08 Thread john_perry_usm
Whoops! I have to walk that back: I was attaching the wrong file! (Ended up in the wrong directory, tab-completion did the rest.) The "include" command *does* still work. Sorry for the false alarm, john perry On Monday, June 8, 2015 at 3:27:46 PM UTC-5, john_perry_usm wrote: > > Hello Volker (&

Re: [sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread William Stein
Hi François, This is definitely a bug in SageMathCloud, which might be related to a bug in Sage itself (not sure). Can you open a ticket at https://github.com/sagemathinc/smc/issues William On Mon, Jun 8, 2015 at 1:26 PM, Dominique Laurain wrote: > Bonsoir Francois, > > Je ne peux rien dir

[sage-support] Re: cf_gmp.h fails on Cython file in sage-beta

2015-06-08 Thread john_perry_usm
Hello Volker (& others with interest) I get the same error in Sage 6.7, but this time adding the recommended include directive to the Cython file doesn't work. Error message below, but I note that a workaround (however temporary) is to modify the offending file, si_gmp.h, so that # include

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread Dominique Laurain
Bonsoir Francois, Je ne peux rien dire de certain pour une version sagemath installé en local (car je n'ai rien sur mon PC)...mais sur le cloud de SAGE cela fonctionne. URL site web : https://cloud.sagemath.com Dans un projet ouvrir un "terminal" puis exécuter les commandes en fin de ce post L

Re: [sage-support] Induction method

2015-06-08 Thread David Joyner
On Mon, Jun 8, 2015 at 3:37 PM, avi kaur wrote: > Hello Everyone > > > Is it possible to solve Induction problems in sage. If yes then how? > Can you give an example of what you want? For example, do you mean solve a recursive equation? > > -- > Avi kaur > > -- > You received this message becaus

[sage-support] Induction method

2015-06-08 Thread avi kaur
Hello Everyone Is it possible to solve Induction problems in sage. If yes then how? -- Avi kaur -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+

[sage-support] Re: plotting derivative of a function object has no attribute _set_extra_kwds

2015-06-08 Thread Dominique Laurain
Hello Chris; Thank you... you understood me :-) Sometimes I want to remind what is written on the main "sage-support"... *Guidelines*: 1. only one question per post | 2. descriptive subject title | 3. also describe the desired result and the context of the problem. *Include*: Platform (CPU

[sage-support] elements of a field extensions

2015-06-08 Thread black64x64
Hello, suppose u have a field extension for example, K(s^2,t^2), is there a way to determine wether an element let's say s^2+t^2 is in this field extension and if the answer is positive output a representation of the element in terms of the generators of the field extension? Thx in advance bl

[sage-support] Question mark failed on Sage toplevel

2015-06-08 Thread François Colas
Hello everyone, I'm facing an error with the question mark after any kind of function. Here is an error log with 'PolynomialRing' : https://gist.github.com/anonymous/f9adbc3ec08dac0892a6 I cannot access the documentation with '?' but it works with : sage: help(PolynomialRing) I'm running Manj

[sage-support] Finite field as extension

2015-06-08 Thread Andrei Halanay
Hi, One can construct some finite field as an tower of extensions: K.=GF(3).extension(2) L.=K.extension(4) The result seems to forget about K and L seems to be represented as L=GF(3)[t] and not L=K[t]=GF(3)[x,t]. In particular, is it a way to compute the norm of an element of L over K? Also i

[sage-support] Sage math with LaTex

2015-06-08 Thread avi kaur
Hello Developers I have to use Sage math along with Latex. I have done the installation of Sage and making latex find package sagetex.sh. I am receiving this error "!LaTex Error: File 'makecmds.sty' not Found." Then what should I do to rectify this problem. -- Avi kaur -- You received this m