[sage-support] Re: Transforming a complex function f:C->C into a function g:R^2->R^2

2017-05-01 Thread Robert Jacobson
On Monday, 1 May 2017 15:31:12 UTC-4, Dominique Laurain wrote: > > I wonder why you want to use the "abs()" function, when the "absolute > value" function has no meaning for complex numbers. > The modulus of a complex number z is often called the absolute value of z and is typeset as |z|. The

[sage-support] Transforming a complex function f:C->C into a function g:R^2->R^2

2017-05-01 Thread Robert Jacobson
I am wanting to hand off a holomorphic function to an external library, but the library only works with real numbers (operations with C++ doubles). Thus I wish to have Sage compute functions u and v for which f(x+i y) = u(x,y) + i v(x,y) such that u and v are expressed only in terms of operatio

[sage-support] Re: Manually moving sage data to mathematica?

2014-12-21 Thread Robert Jacobson
I think the Mathematica interface is still broken. I'm looking into what it would take to fix it. What kind of sage object are we talking about? On Sunday, 21 December 2014 17:01:47 UTC-5, Shane Scott wrote: > > Am I correct in thinking the sage-mathematica interface is still broken? > If tha

[sage-support] Status of the Mathematica interface?

2014-12-08 Thread Robert Jacobson
I'm on OS X Yosemite with Mathematica 10. I can't get Sage to talk to Mathematica, i.e. the following fails: sage: mathematica('Factor[x^2-1]') However, it fails differently depending on the version of Sage. With 5.8 I get: TypeError: Unable to start mathematica With 6.4.1 Sage appears to

[sage-support] Re: Some frustrations with Piecewise()

2014-01-28 Thread Robert Jacobson
ary 28, 2014 8:29:16 PM UTC-5, Robert Jacobson wrote: >> >> I am having difficulty using Piecewise(). For example, I can define the >> following: >> t = Piecewise([[(-oo, -1), 0*x^0], [(-1, 0), 1+x], [(0, 1), 1-x], [(1, oo >> ), 0*x^0]], x) >> but then evaluating

[sage-support] Some frustrations with Piecewise()

2014-01-28 Thread Robert Jacobson
I am having difficulty using Piecewise(). For example, I can define the following: t = Piecewise([[(-oo, -1), 0*x^0], [(-1, 0), 1+x], [(0, 1), 1-x], [(1, oo), 0*x^0]], x) but then evaluating t(-100) fails. I can modify the above to have a finite domain: t = Piecewise([[(-10, -1), 0*x^0], [(-1, 0

[sage-support] parametric_plot and xmin/xmax

2013-01-20 Thread Robert Jacobson
Setting xmin/xmax for parametric_plot doesn't seem to do anything, but ymin/ymax work as expected. What am I doing wrong? t = var('t') parametric_plot( (cos(t), sin(t)), (t, 0, 2*pi), xmin=-2, xmax=2, ymin=-2, ymax=2) -- You received this message because you are subscribed to the Google Groups