Re: [sage-support] The results of some integration test.

2013-09-08 Thread Burcin Erocal
On Sat, 7 Sep 2013 15:25:26 +0300 Georgi Guninski gunin...@guninski.com wrote: snip btw, I get: 'sage.rings.complex_interval.ComplexIntervalFieldElement' object has no attribute 'cot' when trying your |check| on this: -arctan(cot(pi*x))/pi + 1/2 #fractional part of x This is now #15179:

Re: [sage-support] Re: The results of some integration test.

2013-09-05 Thread Burcin Erocal
On Wed, 4 Sep 2013 10:28:05 -0700 (PDT) kcrisman kcris...@gmail.com wrote: On Wednesday, September 4, 2013 1:01:07 PM UTC-4, Peter Luschny wrote: Recently two integration test suites were discussed at sci.math.symbolic [1], [2]. I executed the tests with Sage and put the results on my

Re: [sage-support] possible bug in sage 5.11 SR operations...

2013-08-28 Thread Burcin Erocal
On Tue, 27 Aug 2013 11:11:35 -0700 (PDT) Emmanuel Charpentier emanuel.charpent...@gmail.com wrote: Dear Burcin, dear list Le mardi 27 août 2013 11:16:18 UTC+2, Burcin Erocal a écrit : On Sat, 24 Aug 2013 14:16:01 -0700 (PDT) Emmanuel Charpentier emanuel.c...@gmail.com javascript: wrote

Re: [sage-support] possible bug in sage 5.11 SR operations...

2013-08-27 Thread Burcin Erocal
On Sat, 24 Aug 2013 14:16:01 -0700 (PDT) Emmanuel Charpentier emanuel.charpent...@gmail.com wrote: Dear list, Setup : sage 5.11 on Debian amd64 self-compiled (Debian's compilers and tuned Atlas library) trying to put on paper the elementary proof that the convolution of two normals is a

Re: [sage-support] Integration of formal functions

2013-07-26 Thread Burcin Erocal
On Thu, 25 Jul 2013 11:10:42 -0700 William Stein wst...@gmail.com wrote: On Thu, Jul 25, 2013 at 9:16 AM, Victor Miller victorsmil...@gmail.com wrote: In the latest version of sage (at least what cloud.sagemath.org is running), ... which is sage-5.10, the latest released version.

Re: [sage-support] Re: generate latex from symbolic expression without \;

2013-06-24 Thread Burcin Erocal
On Mon, 24 Jun 2013 11:36:58 -0700 (PDT) Emmanuel Charpentier emanuel.charpent...@gmail.com wrote: Le jeudi 13 juin 2013 16:54:50 UTC+2, Stephen Nuchia a écrit : I think the reason for it is probably because Sage variables are so often words rather than letters When using LaTeX

Re: [sage-support] Re: Sage Speed Issues

2013-06-11 Thread Burcin Erocal
On Tue, 11 Jun 2013 00:02:45 -0700 (PDT) Asad Akhlaq assad.akh...@gmail.com wrote: I am also trying to use Sage's built in 'taylor' command and it is also very slow. Try the .series() method of symbolic expressions. It should be faster. Cheers, Burcin -- You received this message because

Re: [sage-support] Taylor Polynomial possible bug in return

2013-01-10 Thread Burcin Erocal
On Thu, 10 Jan 2013 03:09:05 -0800 (PST) LFS lfahlb...@gmail.com wrote: Hiya, Probably I am just doing something wrong ... I have a cubic polynomial p(x) with regular coefficients and I wanted coefficients around e.g. (x-1). So I did p1=p.taylor(x,1,3). I get: x |-- 0.085*(x - 1)^3 -

Re: [sage-support] Print exp(x) instead of e^x in symbolic expressions

2012-11-27 Thread Burcin Erocal
On Tue, 27 Nov 2012 11:23:01 +0100 Serge Torres serge.tor...@laposte.net wrote: I'm pretty sure this question has been answered over and over but despite intensive googling I could not find these answers. I have expressions (say, f = exp(x)) that want to export to another computing system.

Re: [sage-support] Print exp(x) instead of e^x in symbolic expressions

2012-11-27 Thread Burcin Erocal
On Tue, 27 Nov 2012 12:16:20 +0100 Burcin Erocal bur...@erocal.org wrote: On Tue, 27 Nov 2012 11:23:01 +0100 Serge Torres serge.tor...@laposte.net wrote: I'm pretty sure this question has been answered over and over but despite intensive googling I could not find these answers. I

Re: [sage-support] Re: Jacobi sn

2012-11-20 Thread Burcin Erocal
On Mon, 19 Nov 2012 23:25:34 -0800 Justin C. Walker jus...@mac.com wrote: On Nov 19, 2012, at 22:36 , Jan Groenewald wrote: On 16 September 2012 08:08, Robert Dodier robert.dod...@gmail.com wrote: On 2012-09-16, kcrisman kcris...@gmail.com wrote: Either that was a regression

Re: [sage-support] Re: Jacobi sn

2012-11-20 Thread Burcin Erocal
On Tue, 20 Nov 2012 09:25:21 +0100 Burcin Erocal bur...@erocal.org wrote: On Mon, 19 Nov 2012 23:25:34 -0800 Justin C. Walker jus...@mac.com wrote: On Nov 19, 2012, at 22:36 , Jan Groenewald wrote: On 16 September 2012 08:08, Robert Dodier robert.dod...@gmail.com wrote

Re: [sage-support] faster computation of big sums of products of multivariate polynomials

2012-06-29 Thread Burcin Erocal
Hi Christian, On Fri, 29 Jun 2012 00:10:32 -0700 (PDT) Christian Stump christian.st...@gmail.com wrote: I want to do some computations with multivariate polynomials in the group W of type H4 (14400 elements). I have a summand for every element w \in W, and a product of 4 polynomials in each

Re: [sage-support] Keeping coefficients as floats when using solve

2012-02-20 Thread Burcin Erocal
On Mon, 20 Feb 2012 10:39:11 -0500 Michael Orlitzky mich...@orlitzky.com wrote: On 02/19/12 19:58, Mike wrote: When I run: x,y=var('x,y', domain=RR) solve(2.0*x+3.0*y==4.0, y) I get [y == -2/3*x + 4/3] but I would like to get [y == -0.666*x +

Re: [sage-support] Re: Add new/custom integral code to sage

2012-02-20 Thread Burcin Erocal
On Feb 8, 10:38 pm, ObsessiveMathsFreak obsessivemathsfr...@gmail.com wrote: I have a certain integration result which Sage is currently unaware of. I need a way to make sage aware of it in some fashion, via substitution or anything else. For example, sage currently cannot perform the

Re: [sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Burcin Erocal
Hi Oscar, On Tue, 7 Feb 2012 00:08:04 -0800 (PST) Oscar Lazo algebraicame...@gmail.com wrote: Done: http://trac.sagemath.org/sage_trac/ticket/12455 Thanks! I've added a patch, which should do the job, but it has a few shortcomings: 1.-The resulting symbolic functions seem to remain on

Re: [sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Burcin Erocal
On Tue, 7 Feb 2012 06:56:30 -0800 (PST) Oscar Lazo algebraicame...@gmail.com wrote: On 7 feb, 04:48, Burcin Erocal bur...@erocal.org wrote: I don't think we want to have separate functions for the derivatives in Sage. These might help you get around the printing problem for now

Re: [sage-support] Evaluate real variable subtraction with same variable conjugate to zero

2011-11-29 Thread Burcin Erocal
On Tue, 29 Nov 2011 13:14:36 -0700 jrodri1...@gmail.com wrote: Hi! I'm working with an expression involving imaginary exponentials and their conjugates: exp(i•k•x) exp(i•k•x)*=exp(-i•k•x) However, when multiplying them together, I do not get the arguments to evaluate to zero. My

Re: [sage-support] Re: finding the closed form for a linear second order recurrence sequence

2011-10-24 Thread Burcin Erocal
On Sun, 23 Oct 2011 15:09:09 -0700 (PDT) Simon King simon.k...@uni-jena.de wrote: On 23 Okt., 23:18, David Joyner wdjoy...@gmail.com wrote: On Sun, Oct 23, 2011 at 4:51 PM, Avril Coghlan avril.cogh...@googlemail.com wrote: Dear all, I am new to SAGE (since today) but am excited

Re: [sage-support] Sage Algebra

2011-10-14 Thread Burcin Erocal
On 10/10/2011 20:13, Christian Burisch wrote: Hi All, William Stein referred me into here. I am working on a project analysing a function that uses multidimensional generalisations of complex numbers. A bit like cyclotomic fields, but where the unity roots are not complex numbers

Re: [sage-support] python distro for High Performance Computing (HPC)

2011-09-20 Thread Burcin Erocal
Hi Chris, On Sun, 18 Sep 2011 20:29:19 -0700 (PDT) Chris Kees cek...@gmail.com wrote: Apologies in advance for the long post. It boils down to this: Is there any interest from the sage community in participating in the development of a python distribution for large-scale distributed memory

Re: [sage-support] extending the Expression class

2011-07-26 Thread Burcin Erocal
On Tue, 26 Jul 2011 00:03:41 -0700 Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Jul 21, 2011 at 3:37 AM, Burcin Erocal bur...@erocal.org wrote: The main problem with subclassing Expression is that the result returned from arithmetic is hardcoded to be an Expression again

Re: [sage-support] Re: extending the Expression class

2011-07-26 Thread Burcin Erocal
On Mon, 25 Jul 2011 08:03:04 -0700 (PDT) Steven Pollack stevenlawrencepoll...@gmail.com wrote: Is the syntax for this class t = new_exp(SR, symbolic_expression)? So that sage: t returns symbolic_expression? t is an instance of new_exp, which inherits from Expression. The value of the

Re: [sage-support] extending the Expression class

2011-07-21 Thread Burcin Erocal
Hi, On Wed, 20 Jul 2011 17:02:49 -0700 (PDT) Steven Pollack stevenlawrencepoll...@gmail.com wrote: I noticed that a thread was developed for this sort of thing (http:// groups.google.com/group/sage-support/browse_thread/thread/ d50dc3bc2bdbeab0/34798c0585fc034f?lnk=gstq=nicolasfwc=1#), but

Re: [sage-support] Re: ultraspherical (Gegenbauer polynomials)

2011-07-14 Thread Burcin Erocal
On Wed, 13 Jul 2011 19:01:40 -0700 (PDT) Steven Pollack stevenlawrencepoll...@gmail.com wrote: I hope this code helps anyone trying to do any work in Sage with the ultraspherical(n,a,x) function. Note that there is an experimental patch on the issue tracker which improves orthogonal

Re: [sage-support] Re: Expand complex exponential using eulers formula

2011-06-30 Thread Burcin Erocal
On Wed, 29 Jun 2011 19:54:06 -0700 (PDT) ObsessiveMathsFreak obsessivemathsfr...@gmail.com wrote: This is pretty infuriating. Unfortunately we haven't worked out the interaction between maxima's assume() function and GiNaC/Pynac's knowledge of domains yet. sage: forget() sage:

Re: [sage-support] Re: Difference between var('x') and x=var('x')?

2011-06-17 Thread Burcin Erocal
On Fri, 17 Jun 2011 08:10:26 -0700 (PDT) Harald Schilly harald.schi...@gmail.com wrote: you can also create invalid variable names, i.e. the ones starting with a number: sage: var('2x') 2x sage: 2x File ipython console,

Re: [sage-support] sum of complex numbers

2011-06-07 Thread Burcin Erocal
On Tue, 7 Jun 2011 12:17:58 -0700 (PDT) Samuel Lelievre samuel.lelie...@gmail.com wrote: Can we not use + to add complex numbers? sage: j = -1/2 + sqrt(3)/2*i sage: a = -2*j*j sage: b = -j/2 sage: print a.real(); print b.real(); print (a+b).real() 1 1/4 + 1/4 With Sage 4.7.alpha1, I

Re: [sage-support] Ring variables cannot contain each other as prefixes

2011-05-12 Thread Burcin Erocal
On Wed, 11 May 2011 22:57:56 -0700 (PDT) tvn nguyenthanh...@gmail.com wrote: Is this a math limitation or Sage limitation ?If it's the later then should it be worked on ? 'Sage Version 4.6.2, Release Date: 2011-02-25' sage: var('x x2') (x, x2) sage: Q = PolynomialRing(QQ,[x,x2])

Re: [sage-support] Re: Categories and parents

2011-05-10 Thread Burcin Erocal
On Tue, 10 May 2011 06:03:14 -0700 (PDT) Bruce brucewestb...@gmail.com wrote: I will summarise what I have learnt from Nicolas Thiery: If M is a monoid then the monoid algebra is constructing using Monoid().Algebra() by, say, M.algebra(QQ). For groups the construction GroupAlgebra is being

Re: [sage-support] removing redundant equality expression

2011-05-07 Thread Burcin Erocal
On Fri, 6 May 2011 15:22:25 -0700 (PDT) tvn nguyenthanh...@gmail.com wrote: given a list of equality expressions, is there a way to remove all the members that can be inferred by others in the list so that the final list contains only independent expressions and they imply all the ones that

Re: [sage-support] Re: doctest treats 1/2 as 0

2011-04-26 Thread Burcin Erocal
On Mon, 25 Apr 2011 10:11:57 -0700 (PDT) tvn nguyenthanh...@gmail.com wrote: just want to pump the thread up so that someone can answer My file f1.py imports some other file f2.py which is in the same directory, when I do sage -t f1.py I receive ImportError exception about f2 not

Re: [sage-support] Re: Problems with taylor expansion and formal symbolic functions

2011-02-06 Thread Burcin Erocal
On Sat, 5 Feb 2011 18:16:54 -0800 (PST) kcrisman kcris...@gmail.com wrote: Now browse into taylor?? source, and you see that sage call the taylor function in maxima. The taylor function in maxima seems very long to follow in ...maxima.../src/hayat.lisp. More to the point, Maxima

Re: [sage-support] Re: real part incorrectly simplified away

2011-01-31 Thread Burcin Erocal
On Mon, 31 Jan 2011 14:19:51 -0800 (PST) Michael Beeson profbee...@gmail.com wrote: It seems that var('z') makes sage think z is real. simplify(real(z)) returns z and simplify(imag(z)) returns 0. This is #6862 on trac: http://trac.sagemath.org/sage_trac/ticket/6862 It's one of the

Re: [sage-support] Re: basic import question

2011-01-25 Thread Burcin Erocal
On Tue, 25 Jan 2011 10:29:38 -0600 Ryan Krauss ryanwkra...@gmail.com wrote: Would it be possible to check for a user defined environment variable (say SAGE_PYTHOPATH) and append it to PYTHONPATH in sage-env if it is defined (I have never really bothered to learn bash programming). The

Re: [sage-support] Re: Round symbolic expressions

2010-10-25 Thread Burcin Erocal
Hi Simon, On Mon, 25 Oct 2010 00:41:07 -0700 (PDT) Simon King simon.k...@nuigalway.ie wrote: @symbolic experts (Burcin et al): Is it really necessary that x.operator() returns None and x.operands() returns []? What about an identity operator? The operator and operands don't have a meaning if

Re: [sage-support] Re: Round symbolic expressions

2010-10-25 Thread Burcin Erocal
Hi Simon, On Mon, 25 Oct 2010 05:09:06 -0700 (PDT) Simon King simon.k...@uni-jena.de wrote: I only opened one ticket, namely #10169, aiming at making s==s.operator()(*s.operands()) work uniformely. I don't think this makes sense for variables, numeric objects, or constants, in other words,

Re: [sage-support] Re: Round symbolic expressions

2010-10-25 Thread Burcin Erocal
Hi Simon, On Mon, 25 Oct 2010 06:09:16 -0700 (PDT) Simon King simon.k...@uni-jena.de wrote: On 25 Okt., 14:39, Burcin Erocal bur...@erocal.org wrote: If we return an identity operator for these cases, how do you plan to test for it in your code: Something like this: L = x.operands

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-10-01 Thread Burcin Erocal
On Fri, 1 Oct 2010 06:52:11 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: Some remarks and questions... snip I replied to this on pynac-devel: http://groups.google.com/group/pynac-devel/msg/f3032856d1ed6953 Cheers, Burcin -- To post to this group, send email to

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-29 Thread Burcin Erocal
Hi, On Wed, 29 Sep 2010 07:00:39 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: Ok, I have finally looked at the comparison functions and exchanging : cmpval = seq[0].coeff.compare(other.exponent); by cmpval = -seq[0].coeff.compare(other.exponent); in mul::compare_pow (mul.cpp:1265)

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-29 Thread Burcin Erocal
On Wed, 29 Sep 2010 09:48:25 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: Maybe it is a good thing to keep the same order as ginac internally and your more usual ordering for printing. It is good to keep the ginac ordering internally. The user friendly ordering is more expensive so

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-29 Thread Burcin Erocal
On Wed, 29 Sep 2010 12:57:54 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: On 29 sep, 20:28, Burcin Erocal bur...@erocal.org wrote: On Wed, 29 Sep 2010 09:48:25 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: Maybe it is a good thing to keep the same order as ginac

Re: [sage-support] Question about polynomial rings and their fraction fields

2010-09-25 Thread Burcin Erocal
On Fri, 24 Sep 2010 18:56:14 -0700 (PDT) kcrisman kcris...@gmail.com wrote: sage: a = FractionField(PolynomialRing(ZZ, 'x')) sage: a(1/x) weird error that seems to imply it has not coerced x to the polynomial ring Did I do something wrong, or is this a bug? Because of the initial

[sage-support] Re: Function assume() has no effect on Maxima via desolve()

2010-09-23 Thread Burcin Erocal
On Wed, 22 Sep 2010 18:52:32 -0700 (PDT) lutusp lut...@gmail.com wrote: The patch by Robert Marik attached to #9835 solves the problem you show below. Applied the indicated patch, same outcome: reset() var('g t') x = function('x',t) forget() assume(g 0) de = x - g * diff(x,t,2)

Re: [sage-support] Bug in sum

2010-09-22 Thread Burcin Erocal
Hi Antonio, On Wed, 22 Sep 2010 02:55:40 -0700 (PDT) Julius juliuslul...@gmail.com wrote: The symbolic computation section of the reference manual says: This summation only Mathematica can perform: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm = 'mathematica') But to execute

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-13 Thread Burcin Erocal
Hi Jean-Pierre, On Mon, 13 Sep 2010 04:58:00 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: I've got some other questions: These should be on a separate thread, on sage-devel or pynac-devel. - Sage and pynac do not realize that 2^(-b_0) and (2^b_0)^(-1) are equal. I guess there is

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-12 Thread Burcin Erocal
Hi Jean-Pierre, On Thu, 9 Sep 2010 02:13:27 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: I created a Ticket on Sage's Trac: http://trac.sagemath.org/sage_trac/ticket/9880 It could be a problem with the comparison function expair_rest_is_less used by std::sort function like in the

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-09-12 Thread Burcin Erocal
Hi, On Sun, 12 Sep 2010 09:21:12 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: Thanks for the patch, I'll have a look at the comparison functions when I have some time, surely next week. Where can I find the one defined by Sage ? They are spread out through the classes in pynac.

Re: [sage-support] (5-e^x).substitute(x=log(x)) goes wrong?

2010-09-10 Thread Burcin Erocal
Hi Kees, On Fri, 10 Sep 2010 08:10:45 -0700 (PDT) KvS keesvansch...@gmail.com wrote: Dear all, I'm sorry I have yet again something to bother you with. Running the following few lines: eq=5-e^x print 1:,eq.substitute(x=3*x) print 2:,eq.substitute(x=log(x)) yields the output (Sage

Re: [sage-support] Problem doing symbolic computations (bug in Pynac ?)

2010-09-07 Thread Burcin Erocal
Hi, Here is a short example to replicate the first error mentioned below: b = [var('b_%s'%i) for i in range(4)] precomp = (2^b_2 + 2)*(2^b_1 + 2^(-b_1) + 2^b_1*2^b_0 - 2^b_1*2^(-b_0) - 2^(-b_1)*2^b_0 - 2^(-b_1)*2^(-b_0) + 2^b_0 + 2^(-b_0) - 9) + (2^b_1 + 2^(-b_1) + 2^b_1*2^b_0 - 2^b_1*2^(-b_0)

Re: [sage-support] Problem doing symbolic computations (bug in Pynac ?)

2010-09-01 Thread Burcin Erocal
Hi Jean-Pierre, On Wed, 1 Sep 2010 08:25:07 -0700 (PDT) Jean-Pierre Flori jpfl...@gmail.com wrote: I'm using Sage to do some symbolic computations. What I am basically trying to do is to compute sums made of terms of the form : cst_{i_0,...,i_d)*b_0^{i_0}*...*b_d^{i_d}*2^{-b_0-...-b_d}

Re: [sage-support] Derivative of error function

2010-08-16 Thread Burcin Erocal
On Sun, 15 Aug 2010 08:37:10 -0700 (PDT) Paul Rombouts p.a.rombo...@home.nl wrote: Hi, I can integrate the function exp(-x^2) to get the error function like this: sage: F=integral(exp(-x^2),x); F 1/2*sqrt(pi)*erf(x) But when I try to differentiate the answer, sage does not seem to

Re: [sage-support] Re: Pattern matching of a symbolic function acting on a symbolic variable

2010-07-13 Thread Burcin Erocal
On Mon, 12 Jul 2010 08:46:16 -0700 (PDT) David Sanders dpsand...@gmail.com wrote: I also note that after reading the documentation, I am still left without an answer to my original question, which is how to do pattern matching in Sage (or if it's even possible) for something of the

Re: [sage-support] Re: Pattern matching of a symbolic function acting on a symbolic variable

2010-07-12 Thread Burcin Erocal
Hi David, On Mon, 12 Jul 2010 02:24:41 -0700 (PDT) David Sanders dpsand...@gmail.com wrote: On Jul 11, 8:13 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: On 11 čnc, 12:22, William Stein wst...@gmail.com wrote: On Sat, Jul 10, 2010 at 10:04 PM, David Sanders dpsand...@gmail.com wrote:

Re: [sage-support] numerical evaluation of symbolic expressions

2010-07-04 Thread Burcin Erocal
Hi, On Sun, 4 Jul 2010 05:36:50 -0700 (PDT) dirkd dirk.dancka...@gmail.com wrote: Why is evaluating this expression problematical? y1(x)=x^2;y2(x)=5-x; a0=1;an=3;Delta=(an-a0)/n;p(k)=a0+(k-1/2)*Delta; I(n)=sum(abs(y2(p(k))-y1(p(k)))*Delta,k,1,n); N(I(10)) SAGE respons: snip File

Re: [sage-support] pattern matching question

2010-07-01 Thread Burcin Erocal
On Thu, 1 Jul 2010 13:40:03 -0700 (PDT) jeral jeral2...@gmail.com wrote: Hi, All. Is there any way in sage to match not only given expression against pattern, but equivalent expressions too? Say, i want to match expression with pattern pat = c*x^p*y^q*z^r, (2*x^2*y^3*z^4).match(pat)

Re: [sage-support] Re: Trouble Installing Sage on Linux Ubuntu

2010-07-01 Thread Burcin Erocal
On Thu, 1 Jul 2010 13:32:47 -0700 William Stein wst...@gmail.com wrote: On Thu, Jul 1, 2010 at 12:26 PM, Dieter dieter.fishb...@gmail.com wrote: It looks like I have Ubuntu v. 8.04.4 LTS. Is there a binary version available that would be compatible? No. Unfortunatley, I am using a

Re: [sage-support] define new variables with derivative

2010-05-29 Thread Burcin Erocal
Hi, On Sat, 29 May 2010 08:39:17 -0700 (PDT) isurug isurugod...@gmail.com wrote: I was wondering if there is any support in sagemath to define new variables that are derivatives or integrals of existing variables. for instance, suppose that i define a variable called theta , is it now

Re: [sage-support] Re: Display of i vs I

2010-05-22 Thread Burcin Erocal
Hi Mike, On May 20, 10:59 am, Mike Witt wrote: Is there any way to make the square root of -1 display lower case i rather than I (at least for latex output)? Not in a user friendly way. The complex I is just a number field element and number fields don't support latex output with different

Re: [sage-support] Sage being cheeky

2010-05-21 Thread Burcin Erocal
Hi Alasdair, On Thu, 20 May 2010 18:56:59 -0700 (PDT) Alasdair amc...@gmail.com wrote: sage: diff(gamma(x)) gamma(x)*psi(x) sage: psi(1) NameError: name 'psi' is not defined Now is that cheeky or what - Sage giving an answer with a function which is not defined! This was fixed a

Re: [sage-support] systems of inequalities over the integers

2010-05-03 Thread Burcin Erocal
On Mon, 3 May 2010 10:18:42 -0400 David Joyner wdjoy...@gmail.com wrote: I think Sage calls Maxima and Maxima is getting i (your variable) and I (sqrt(-1)) mixed up. I guess this is a bug, but it might be known already. It's reported here: http://trac.sagemath.org/sage_trac/ticket/6882 I'm

Re: [sage-support] Re: how does sage compare symbolic expressions?

2010-05-03 Thread Burcin Erocal
Hi, On Mon, 03 May 2010 06:55:25 -0500 Jason Grout jason-s...@creativetrax.com wrote: On 05/03/2010 06:45 AM, Simon King wrote: Hi Maite, On May 3, 11:15 am, Maite Aranesmaite.al...@gmail.com wrote: Does sage use symbolic calculus if it has to compare two symbolic expressions inside

Re: [sage-support] Re: How do I clear some variables after declaring them?

2010-04-23 Thread Burcin Erocal
On Fri, 23 Apr 2010 07:02:23 -0700 (PDT) Nils Bruin nbr...@sfu.ca wrote: On Apr 22, 11:21 am, Jason Grout jason-s...@creativetrax.com wrote: On 04/22/2010 12:33 PM, eric948470 wrote: If I declare some variables, and after completing the calculation I don't want them to be variables

Re: [sage-support] Re: Invoking Lisp from within Sage

2010-04-10 Thread Burcin Erocal
On Fri, 9 Apr 2010 22:51:30 -0700 (PDT) Alec Mihailovs alec.mihail...@gmail.com wrote: On Apr 10, 1:32 am, Adam Getchell adam.getch...@gmail.com wrote: Hi all, I realize this maybe a bit of an insane question, but I'm looking for a way to use ecl within sage besides: ./sage -ecl

Re: [sage-support] SR bug?

2010-04-08 Thread Burcin Erocal
Hi Alex, On Wed, 7 Apr 2010 16:56:01 -0700 (PDT) Alex Raichev tortoise.s...@gmail.com wrote: What the? -- | Sage Version 4.3.5, Release Date: 2010-03-28 | | Type notebook() for the GUI, and license()

Re: [sage-support] SR + QQbar bug?

2010-04-08 Thread Burcin Erocal
Hi again Alex, Many thanks for the report. On Wed, 7 Apr 2010 16:05:09 -0700 (PDT) Alex Raichev tortoise.s...@gmail.com wrote: Hi all: I ran into an error trying to evaluate the exponential function at an algebraic number. Looks like there's a bug in substituting algebraic numbers for

Re: [sage-support] n(...) bug

2010-04-05 Thread Burcin Erocal
On Mon, 5 Apr 2010 00:39:02 -0700 (PDT) Kwankyu ekwan...@gmail.com wrote: sage: f=sqrt(pi)^-1*exp(-x^2/2); f e^(-1/2*x^2)/sqrt(pi) sage: g=integral(f,(x,0,2)); g 1/2*sqrt(2)*erf(sqrt(2)) sage: n(g) Traceback (most recent call last): ... TypeError: cannot evaluate symbolic expression

Re: [sage-support] substitute_function - but?

2010-03-23 Thread Burcin Erocal
On Tue, 23 Mar 2010 05:07:05 -0700 (PDT) tk tobi...@web.de wrote: I tried to do some calculations and used a self-defined function. After that, I wanted to change it to another function like sin or just a constant. I am using the binary version on Ubuntu Karmic. What I got was the

Re: [sage-support] convert trigonometric/hyperbolic functions to exponentials

2010-03-12 Thread Burcin Erocal
On Fri, 12 Mar 2010 15:23:43 +0100 Paul Zimmermann paul.zimmerm...@loria.fr wrote: is there a way in Sage to convert expressions involving trigonometric or hyperbolic functions to exponentials, like the convert/exp function of Maple? convert(sinh(log(t)),exp);

Re: [sage-support] Re: Typesetting bug

2010-03-10 Thread Burcin Erocal
On Wed, 10 Mar 2010 12:35:28 -0800 (PST) Harald Schilly harald.schi...@gmail.com wrote: On Mar 10, 9:27 pm, Gustav Delius gustav.del...@gmail.com wrote: There is a surprising typesetting bug ... http://trac.sagemath.org/sage_trac/ticket/8491 Indeed this is very embarrassing. I can't

Re: [sage-support] Sage unexpectedly quits after asked to compute a resultant

2010-03-07 Thread Burcin Erocal
Hi Panos, On Sun, 7 Mar 2010 07:19:44 -0800 (PST) panos p.tsakn...@gmail.com wrote: I tried the following code on a 64bit Linux machine running Sage 4.3.3: -- | Sage Version 4.3.3, Release Date: 2010-02-21

Re: [sage-support] Re: Hold symbolic expressions

2010-03-01 Thread Burcin Erocal
Hi Robert, On Sun, 28 Feb 2010 07:49:34 -0800 (PST) ma...@mendelu.cz ma...@mendelu.cz wrote: Can you give us (very briefly) few pointers where to start to learn pynac. Here's a first attempt: http://wiki.sagemath.org/symbolics/pynac_start Feel free to edit the page as you see fit and ask

Re: [sage-support] Hold symbolic expressions

2010-02-27 Thread Burcin Erocal
Hi Robert, On Fri, 26 Feb 2010 17:14:22 -0800 (PST) ma...@mendelu.cz ma...@mendelu.cz wrote: Holding symbolic expressions has been requested several times here. For example [1]-][4]. Is there something new in this topic? Now or in near future? Here is another related post:

[sage-support] Sage days 20 @ RISC, Austria

2010-02-25 Thread Burcin Erocal
Community Member States (except Austria) and Associated States. A link to the application form is also available at the above website. Sincerely Yours, The organizing committee Burcin Erocal, Ralf Hemmecke and Temur Kutsia -- To post to this group, send email to sage-support@googlegroups.com

Re: [sage-support] Re: [Sage Bug Report] factoring a multivariate polynomial

2010-02-21 Thread Burcin Erocal
On Fri, 19 Feb 2010 05:51:46 -0800 William Stein wst...@gmail.com wrote: I am sending this to sage-support On Thursday, February 18, 2010, Joerg Arndt ar...@jjj.de wrote: The following doesn't finish in reasonable time: var('E1, E2, E4, E5, E10, E20');

Re: [sage-support] Using CRT to speed up calculations over QQ

2010-02-21 Thread Burcin Erocal
Hi Jeff, On Sun, 21 Feb 2010 13:28:09 -0800 (PST) Jeff Stroomer jstroom...@hotmail.com wrote: Sage Folks, I am working on a problem that requires me to generate a large matrix over QQ, and then calculate the row-echelon form. I think there's a good chance I can speed up the calculations

Re: [sage-support] Re: Behavior of a PARI function when called within SAGE

2010-02-18 Thread Burcin Erocal
Hi Eliot, On Thu, 18 Feb 2010 04:02:16 -0800 (PST) eliot brenner eliotpbren...@gmail.com wrote: Thanks! In the meantime, any suggestions for a work-around (besides write the entire program in PARI or C)? You can just use mpmath to compute besselk. The ticket Dan mentioned (#3426) has these

Re: [sage-support] plotting countour lines

2010-02-16 Thread Burcin Erocal
Hi Robert, On Tue, 16 Feb 2010 06:19:41 -0800 (PST) ma...@mendelu.cz ma...@mendelu.cz wrote: Dear sage-support the following plot works x,y=var('x,y') contour_plot(sqrt(1-(x^2+y)^2),(x,-2,2),(y,-2,0), fill=False, labels=True) but the following not: x,y=var('x,y')

Re: [sage-support] sagemath installs on ubuntu karmic, but abends on simple problem

2010-02-14 Thread Burcin Erocal
On Sun, 14 Feb 2010 14:07:47 +1100 Alex Ghitza aghi...@gmail.com wrote: On Sat, 13 Feb 2010 16:27:22 -0800 (PST), Tom Roche tlro...@gmail.com wrote: summary: I installed ubuntu package=sagemath (and dependencies) using aptitude on 2 previously-sage-clean ubuntu karmic boxes. Sage appeared

Re: [sage-support] substitution in sums and multiplications

2010-01-25 Thread Burcin Erocal
Hi Stefan, On Mon, 25 Jan 2010 06:49:55 -0800 (PST) Ichnich warm...@web.de wrote: there seems to be a bug in substitute: var('k1 k2 k3') f = (k1+k2)^2 f.substitute(k1+k2==k3) gives k3^2 as expected. var('k1 k2 k3') f = (k1+k2)*2 f.substitute(k1+k2==k3) gives 2*k1 + 2*k2. The

Re: [sage-support] Unexpected behaviour with symbolic complex numbers

2010-01-17 Thread Burcin Erocal
On Sun, 17 Jan 2010 11:52:30 +0100 Rafael Fourquet rafael.fourq...@gmail.com wrote: I find the following counter-intuitive: sage: i^2 -1 sage: a = (1-i) * x ; a -(I + 1)*x sage: a.coeff(x,1) -I + 1 Is this a bug? It made me make an error in the subject of an exam I wrote. This is

Re: [sage-support] Re: What changed?

2010-01-02 Thread Burcin Erocal
Hi Jason, On Sat, 02 Jan 2010 15:14:15 -0700 Jason Grout jason-s...@creativetrax.com wrote: Here is the problem, narrowed down a bit: sage: log(SR(float(-7.0))) Traceback (most recent call last): ... ValueError: math domain error sage: log(float(-7.0)) 1.94591014906 + 3.14159265359*I

Re: [sage-support] A ring of exponentials

2009-12-31 Thread Burcin Erocal
Hi, On Thu, 31 Dec 2009 08:37:55 -0800 (PST) VictorMiller victorsmil...@gmail.com wrote: Is there any easy way of building up what I'd call a ring of exponentials (maybe there's a better word)? For example I'd like to work in the ring QQ[[2^j for j in Integers()]]: the ring with

Re: [sage-support] Simplifying arctan2 expressions

2009-12-05 Thread Burcin Erocal
On Sat, 5 Dec 2009 03:32:04 -0500 William Stein wst...@gmail.com wrote: On Fri, Dec 4, 2009 at 9:22 PM, taco jcho...@gmail.com wrote: Sooo I am currently working on trying to simplify the resulting expressions in sage to shrink them down to a smaller size. Here is the problem: I

Re: [sage-support] abs exp simplify bug

2009-11-30 Thread Burcin Erocal
Hi, On Sun, 29 Nov 2009 17:06:36 -0800 (PST) rych rych...@gmail.com wrote: var('y', domain='real') assume(y, 'real') abs(exp(y*I)).simplify() 1 abs(exp(1.1*y*I)).simplify() e^(1.1*I*y) The last result is incorrect. It seems simplify() doesn't like floating point? Thank you

Re: [sage-support] SIGSEGV ERROR

2009-11-29 Thread Burcin Erocal
Hi Roland, On Sun, 29 Nov 2009 11:46:00 -0800 (PST) Rolandb rola...@planet.nl wrote: Unhandled SIGSEGV: A segmentation fault occured in SAGE. This probably occured because a *compiled* component of SAGE has a bug in it (typically

Re: [sage-support] Re: bug: derivatives as dictionary keys

2009-11-23 Thread Burcin Erocal
Hi Alex, On Sun, 22 Nov 2009 18:30:35 -0800 (PST) Alex Raichev tortoise.s...@gmail.com wrote: Sweet, Burcin. I'll check out your patch. Can you increase the derivative orders to 20 something? Sorry, I won't have more time to play with this in the next two weeks. If you still run into

Re: [sage-support] Re: bug: derivatives as dictionary keys

2009-11-22 Thread Burcin Erocal
Hi, On Sat, 21 Nov 2009 14:02:16 +0100 Burcin Erocal bur...@erocal.org wrote: I can't believe I'm looking at these hashes for the third time. I finally took some time to think about this, and found an (almost) perfect hash function to replace my previous braindead implementation. I hope we

Re: [sage-support] Re: bug: derivatives as dictionary keys

2009-11-21 Thread Burcin Erocal
Hi Alex, On Fri, 20 Nov 2009 11:51:57 -0800 (PST) Alex Raichev tortoise.s...@gmail.com wrote: Thanks, William. I'll check that out. Also, for those interested in the bug i reported, i'd like to rephrase the description of my situation, because i stated it a little confusingly above. Take

[sage-support] Re: partially evaluate expression

2009-11-11 Thread Burcin Erocal
Hi Robert, On Wed, 11 Nov 2009 02:45:11 -0800 (PST) ma...@mendelu.cz ma...@mendelu.cz wrote: So my question for developers and experienced users os Sage is: Is there a function which converts input like f = 0.25 / (log(5.74 / Re^0.9, 10))^2 / 4 into 0.331368631905/log(5.74/Re^0.9)^2 in a

[sage-support] Re: Segmentation fault with find_fit function

2009-11-04 Thread Burcin Erocal
Hi, On Tue, 3 Nov 2009 12:42:47 -0800 (PST) cchristy...@gmail.com cchristy...@gmail.com wrote: Since I have compiled the new version of sage, 'Sage Version 4.1.2, Release Date: 2009-10-14' , the find_fit function of my programs don't want to work any more. The error message is :

[sage-support] Re: Segmentation fault with find_fit function

2009-11-04 Thread Burcin Erocal
On Wed, 4 Nov 2009 03:30:24 -0800 (PST) cchristy...@gmail.com cchristy...@gmail.com wrote: snip B_sol=find_fit(f1_data, Kohl, parameters = [Beta], variables = [t], initial_guess = [0.3], solution_dict = True)[Beta] where Kohl is a python function : var(Beta) def Kohl(t,Beta): return

[sage-support] Re: Typeset problem with sech(x)

2009-10-26 Thread Burcin Erocal
Hi, On Sun, 25 Oct 2009 19:44:21 -0700 (PDT) John H Palmieri jhpalmier...@gmail.com wrote: On Oct 25, 7:37 pm, Marshall Hampton hampto...@gmail.com wrote: Latex doesn't actually support \sech, so this can't really be considered an error on Sage's part. Note that sage:

[sage-support] Re: sqrt(16)

2009-10-23 Thread Burcin Erocal
On Thu, 22 Oct 2009 15:16:32 -0700 (PDT) Mikie thephantom6...@hotmail.com wrote: I want to take the expression sqrt(16) from a function parameter and return the sqrt(16) not 4. Is this possible? Not right now, sorry. I have an idea how to hold symbolic expressions so they are not evaluated

[sage-support] Re: substitute

2009-10-22 Thread Burcin Erocal
Hi Stefan, On Wed, 21 Oct 2009 19:49:58 -0700 (PDT) Ichnich warm...@web.de wrote: Hi, something does not work anymore in my notebook (with version 4.1.2 ubuntu 64bit): var('a,b,c,I') model(I)=a*I+b model_exp = exp(I)**a*(b) sol1_l={b: 5.0, a: 1.1}

[sage-support] Re: substitution

2009-10-08 Thread Burcin Erocal
On Wed, 7 Oct 2009 13:20:30 -0700 (PDT) ma...@mendelu.cz ma...@mendelu.cz wrote: BTW: When looked at this problem, the notation D[0](alpha)(r)^2 seems to be unusual to me. Is it possible to fix sage so that it prints derivatives of functions in one variable as usual: alpha'(r) ? There is

[sage-support] Re: sage-python PYTHONPATH

2009-09-30 Thread Burcin Erocal
Hi Georg, On Wed, 30 Sep 2009 11:07:11 -0700 (PDT) ggrafendorfer georg.grafendor...@gmail.com wrote: I would like to import my own library (which for example resides in ~/ mytools/) to the sage-python (respectively sage) environment. Normally (for system python) one adds '~/mytools' to the

[sage-support] Re: Digamma Function in 4.1.1

2009-09-23 Thread Burcin Erocal
On Tue, 22 Sep 2009 18:47:50 -0700 (PDT) The_Fool masterfu...@gmail.com wrote: 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

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-23 Thread Burcin Erocal
Hi Francois, On Mon, 21 Sep 2009 21:22:39 +0200 Francois Maltey fmal...@nerim.fr wrote: snip Concretely ??? I'll don't see how to operate over exp(2x) = exp(x)^2. ??? Is there a hold (or freeze) function in sage which remains exp(a)^2. Also look at integrate (exp(2*x)/(exp(3*x)+1), x). The

[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

  1   2   >