[sage-devel] BUG??? in function implicit_plot

2014-11-28 Thread Dox
Dear all, I'm trying to plot an implicit function with a y-axis range three orders of magnitude greater than the range of the x-axis. If I use logarithmic scale, the resulting plot is the one shown in sage0.png... However, when a linear scale is used, the plot collapses (see the file

[sage-devel] Re: BUG??? in function implicit_plot

2014-11-28 Thread Dox
I found the answer... to use the option aspect_ratio='automatic' -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to

[sage-devel] Re: BUG??? in function implicit_plot

2014-11-28 Thread Dox
I found the answer... to use the option aspect_ratio='automatic'. Thank you! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-devel] How could I use a general connection with SageManifold?

2013-10-28 Thread Dox
Hi dear community: I've seen the examples given in the homepage of sagemanifoldshttp://sagemanifolds.obspm.fr/examples.html, and still have not a clue about how to use (or define) a general connection, because all the examples work with the Levi-Civita connection. Does anyone knows how to

[sage-devel] Re: SageManifolds: differential geometry and tensor calculus in Sage

2013-07-08 Thread Dox
Impressive work! I started improving my programming skills to try implementing the Hodge star on DifferentialForms, I see you went much further! I'll immediately install the package, working on several examples, and asap start contributing with it! Congratulations! -- You received this

[sage-devel] Re: SageManifolds: differential geometry and tensor calculus in Sage

2013-07-08 Thread Dox
https://lh4.googleusercontent.com/-0IDPoNIN3ko/Udq6gYqcLMI/PEo/Smdr5rsJse8/s1600/SM_doc.png I just installed SageManifolds package, and tried sage: Chart? to review the documentation, and the format is not OK, Is it just me or a documentation `bug`? -- You received this message

[sage-devel] Re: SageManifolds: differential geometry and tensor calculus in Sage

2013-07-08 Thread Dox
I'm trying to reproduce the examples in the page, starting with Schwarzschild spacetime So far I'm getting the following: * When defining a `Chart`, say `X`, t from manifolds.all import * M = Manifold(4, 'M', r'M'); M X = Chart(M, r't, r:positive, th:positive:\theta, ph:\phi', 'BL') X does not

[sage-devel] Re: SageManifolds: differential geometry and tensor calculus in Sage

2013-07-08 Thread Dox
Thx Michael, I didn't know that feature of sage notebook! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this

Re: [sage-devel] Re: _cleanup method in DifferentialForms class

2013-06-28 Thread Dox
I could try to change something... However, What is the way to provide a patch? Is it through github? On Friday, 28 June 2013 09:36:47 UTC-4, Joris Vankerschaver wrote: Symbolic expressions have a .is_trivial_zero() method which is more suitable for use here. It doesn't try anything

[sage-devel] _cleanup method in DifferentialForms class

2013-06-24 Thread Dox
Dear developers, I was looking through the class DifferentialForm, and there is a note in the `__eq__` method pointing that ...most of the execution time is spent in cleaningpu the differential forms def __eq__(self, other): if type(other) == type(self): if self._degree

[sage-devel] Re: Paper publication of the book Calcul Mathematique avec Sage

2013-06-11 Thread Dox
Great work! Congratulations! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [sage-devel] Defining Clifford Algebras

2013-01-15 Thread Dox
Hi David, Thank you for pointing out such an interesting feature of SymPy. I've been checking the documentation, and it seems to do nice things, but I feel it a bit extrange... the notation and the usage in not quite clear. Although I tried some of the examples in the documentation and got no

[sage-devel] Defining Clifford Algebras

2013-01-14 Thread Dox
Dear all, I've asked in asksage how to define a Clifford Algebrahttp://ask.sagemath.org/question/2155/defining-clifford-algebras. Benjaminfjones has suggested I start by looking at the Quaternion algebras https://github.com/sagemath/sagelib/tree/master/sage/algebras/quatalgcode, while Burcin

[sage-devel] Defining anti-commutator

2012-10-09 Thread Dox
Dear all, I'm interested in defining the anti-commutator (function or method) for matrices. I look up the definition of the commutator, and it's very simple def acomm(self,other): return self*other + other*self providing (of course) the additional information about the usage. However I

Re: [sage-devel] Defining anti-commutator

2012-10-09 Thread Dox
Thank you for the tip! That's an impressive command. Cheers. -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to

[sage-devel] Re: Defining anti-commutator

2012-10-09 Thread Dox
Thank you Simon, a very complete answer to my problem. I've already tested my definition and is fantastic. Cheers! -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe

[sage-devel] Problems with full output

2012-10-08 Thread Dox
Dear community: I was doing some simple linear algebra calculations, and since the output was a long list, Sage gave me a few lines with the option of looking at the full_output.txt file. I noticed that after changing the variables, and rerun the calculation the full_output.txt is now getting

[sage-devel] Re: Problems with full output

2012-10-08 Thread Dox
Sorry It's not getting updated. On Monday, 8 October 2012 12:14:42 UTC-3, Simon King wrote: Hi! On 2012-10-08, Dox o.castill...@gmail.com javascript: wrote: --=_Part_110_6376496.1349698687928 Content-Type: text/plain; charset=ISO-8859-1 ... I noticed that after changing

[sage-devel] Re: Problems with full output

2012-10-08 Thread Dox
Yes Nils, In fact it was a browser problem. William makes me notice it. Thank you all. -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to

[sage-devel] Installing Sage 5.0.1 on Ubuntu 12.04

2012-06-27 Thread Dox
? Thank you! P.D.: Additionally I would like to compile the source for a i7 intel, How many cores should I tell ATLAS to use, 4 or 8? DOX -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr

Re: [sage-devel] Installing Sage 5.0.1 on Ubuntu 12.04

2012-06-27 Thread Dox
Thank you Jan, It worked. I'll compile the source, but I have a doubt, How many cores are in a i7? 4 or 8? Dox On Wednesday, 27 June 2012 16:49:41 UTC-4, Jan Groenewald wrote: Hi Dox, On 27 June 2012 22:16, Dox wrote: Dear all: I bought a new laptop yesterday, and it has arch. 64-bits

[sage-devel] Irreps of Lie groups

2012-03-05 Thread Dox
it? * Where should it be included as a class? (in case it is possible) Thank you! DOX -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-devel] vector products

2012-01-24 Thread Dox
product and gives and scalar, instead of a matrix. How can this be solved? Thank you guys! DOX. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group

[sage-devel] Re: vector products

2012-01-24 Thread Dox
Thx, this is it! On Jan 24, 12:01 pm, David Joyner wdjoy...@gmail.com wrote: On Tue, Jan 24, 2012 at 9:57 AM, Dox o.castillo.felis...@gmail.com wrote: Hi everyone, Today I rediscover a problem with the product of vectors. I've defined two vectors u1 and u2, sage: u1 = vector([a,b,c

[sage-devel] Re: vector products

2012-01-24 Thread Dox
...@creativetrax.com wrote: On 1/24/12 8:57 AM, Dox wrote: Hi everyone, Today I rediscover a problem with the product of vectors. I've defined two vectors u1 and u2, sage: u1 = vector([a,b,c]) sage: u2 = vector([d,f,g]) then I try to construct the matrix u1*u2.column() sage: M = u1*u2

[sage-devel] Re: vector products

2012-01-24 Thread Dox
You're very right! Sorry On Jan 24, 1:06 pm, Jason Grout jason-s...@creativetrax.com wrote: On 1/24/12 9:56 AM, Dox wrote: Hi Jason, Thank you for the suggestion. Nonetheless, the first does not work... I venture to guess that SAGE understand the product (*) as commutative for vectors

[sage-devel] Plotting a dirac_delta

2011-07-05 Thread Dox
the singular behaviour by looking at it! Thx.!!! Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel

Re: [sage-devel] Plotting a dirac_delta

2011-07-05 Thread Dox
Hi Benjamin, Yes, I'd like to get an automatic plot like that, where the singularity can be seen. For example, if I try sage: var('x') sage plot(1/x, (x,-2,2), detect_poles=False) the singularity is shown. But it does not work with the delta distribution. Any suggestions? Dox -- To post

[sage-devel] Re: Plotting a dirac_delta

2011-07-05 Thread Dox
Hi kcrisman, A very useful command that spike_function, but I still don't get how to use it as a delta_function, Could you help me with an example? say, delta_function(log(2+sin(x))) Thank you, Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: Integration of dirac_delta

2011-05-16 Thread Dox
Thx kcrisman! very useful workaround. Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http

[sage-devel] Integration of dirac_delta

2011-05-14 Thread Dox
Hi group! I was trying to integrate a dirac_delta, but SAGE cannot do so... weird thing, 'cause that `function' is defined, and in only make sense as part of an integration. Cheers. Dox. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group

[sage-devel] solve an algebraic expression

2011-05-14 Thread Dox
Hi again list, This time I come with a problem of solving an algebraic expression, the solution has the variable x on it! sage: reset() sage: var('x') sage: var('mp', latex_name=rm_\pi) sage: var('me', latex_name=rm_e) sage: f(x) = mp - sqrt(x^2 + me^2) - x sage: solve(f(x)==0, x) [x == mp -

[sage-devel] translate to python

2011-05-03 Thread Dox
Hi group, I know that for a given expression it's possible to translate it to LaTeX. Is it possible to translate it to python? Say, from x^2*arctan(x) get x**2*atan(x) Thx. Dox. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send

[sage-devel] Re: translate to python

2011-05-03 Thread Dox
Hi Simon, thank you for your quick answer, It's almost what I expected, but in fact the arctan function is denoted by atan in python. Of course it's possible to correct it by hand, but it's easy to mistype when the expressions are too complicated. Dox. -- To post to this group, send an email

[sage-devel] Re: MathJax

2011-03-02 Thread Dox
Looks nice... Thx for the recommendation. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL:

[sage-devel] Differentials are defines

2011-02-23 Thread Dox
. Finding the differentials, dx and dy 4. Compute dx^2 + dy^2 Is it possible to define differentials of functions? If so, How? Thx. DOX -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr

[sage-devel] Re: Series expansion.

2011-02-19 Thread Dox
Thank you very much guys! Dox. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http

[sage-devel] Series expansion.

2011-02-18 Thread Dox
Hi everyone! I'd like to know if there is a way of finding the series expansion of a given function around zero and infinity, Is it possible? I tried with sympy.series, didn't work sage: reset() sage: from sympy import * sage: r = Symbol('r') sage: sympy.series(2*r/sinh(2*r), r) -- To post

[sage-devel] Re: Signature of a permutation

2011-02-15 Thread Dox
Wow! A lot of answers! Thank you everyone, :-) nice to see so much different contributions! Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group

[sage-devel] Re: Bundle different objects

2011-02-15 Thread Dox
Any other contribution? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

Re: [sage-devel] Re: Signature of a permutation

2011-02-12 Thread Dox
Thank you Mike! :-) -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Signature of a permutation

2011-02-11 Thread Dox
Hi guys! Short question! Is there any function equivalent to the *Levi-Civita* symbol? I found *Eijk* in sympy... but seems to work only in 3-dimensions. Thank you! Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email

[sage-devel] Re: Signature of a permutation

2011-02-11 Thread Dox
Hi again people! Just wanted to know if the Levi-Civita tensor can be emulated by using this, sage: G = SymmetricGroup(4) sage: G([4,2,3,1]).sign() -1 because I'm not sure if the notation used in the documentation is equivalent to mine! Thx. Dox -- To post to this group, send an email

[sage-devel] Re: Bundle different objects

2011-02-10 Thread Dox
Wow!!! Jason, you're a genius!!! :-) Thank you for such a complete answer. Now I'll try to define my own class... :-P Dox. On Feb 10, 3:42 am, Jason Grout jason-s...@creativetrax.com wrote: On 2/9/11 9:18 PM, Robert Bradshaw wrote: On Wed, Feb 9, 2011 at 6:43 PM, Doxo.castillo.felis

[sage-devel] Re: Bundle different objects

2011-02-10 Thread Dox
( 5, World!) sage: B+C ( 9, World!) I'm thinking could be a bit hard, since the function I'm defining has not a string but a matrix as second entry. The first is not a number either. Thx. Dox. On Feb 10, 3:42 am, Jason Grout jason-s...@creativetrax.com wrote: On 2/9/11 9:18 PM, Robert Bradshaw

[sage-devel] Re: Bundle different objects

2011-02-10 Thread Dox
of the most important part of the class. Any additional help is welcome! DOX -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-devel] Re: Bundle different objects

2011-02-10 Thread Dox
with values in different elements of the algebra. ** Define the product of the forms by a number (or function) Cheers DOX -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options

[sage-devel] Bundle different objects

2011-02-09 Thread Dox
is (12, HelloWorld!!) Something like that! Thank you all ;-) Dox -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage

[sage-devel] Developing a General Relativity package

2011-01-29 Thread Dox
begin? I've already got SAGE 4.6.1 src. Regards!!! Dox. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage

[sage-devel] Possible bug in saving a plot!

2011-01-25 Thread Dox
Hi everyone, Today I was writing a SAGE tip for my blog, about using customized ticks in plots, and I realize that, sage: p = plot(sin(x), (x, -7, 7), ticks=pi/2, tick_formatter=pi, axes_labels=['$x$','$\\sin(x)$'], fontsize=14, color='red') sage: p.save('/home/me/fig1.pdf') sage: q =

[sage-devel] Transforming exponentials to hyperbolic functions.

2011-01-23 Thread Dox
Hi guys! I have an easy question... got an expression with exponentials, say exp(x)+exp(-x), How can I get the result in terms of hyperbolic functions? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Transforming exponentials to hyperbolic functions.

2011-01-23 Thread Dox
Thank you very much Francois, much more explicit than I expected!!! On Jan 23, 4:39 pm, Francois Maltey fmal...@nerim.fr wrote: Dox a crit : Hi guys! I have an easy question... got an expression with exponentials, say exp(x)+exp(-x), How can I get the result in terms of hyperbolic

[sage-devel] Saving 3D plots

2010-04-17 Thread Dox
Hi guys! I was wandering... Is it possible to choose the `angle of viewing' a 3D plot at the time of saving it? Thank you. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more