[sage-support] Fwd: Sage ModularForms() error?

2014-06-18 Thread David Joyner
Does anyone know the answer to this? -- Forwarded message -- From: M. <...> Date: Wed, Jun 18, 2014 at 8:43 PM Subject: Sage ModularForms() error? To: wdjoy...@gmail.com David Joyner, When using the sagecell.sagemath.org server, when I evaluate the command: Modula

Re: [sage-support] Fwd: Sage ModularForms() error?

2014-06-19 Thread David Joyner
plemented in Sage for dimensions of weight 1 modular form spaces. > How much clearer could it be?! > I think that "by improve this", M. is asking if there is a plan to implement one (soon?). I guess not, but I don't know if someone is currently working on this or not. > John &

[sage-support] Re: Solve for a function defined in a file?

2014-06-19 Thread David Ingerman
Thank you, so what to do for Python function? Matlab had general purpose 'optim(f)' if my memory is right... On Wednesday, June 11, 2014 1:50:10 AM UTC-7, Dima Pasechnik wrote: > > On 2014-06-10, David Ingerman > wrote: > > > > How to solve([f(x)==0],x) for

[sage-support] Re: Solve for a function defined in a file?

2014-06-20 Thread David Ingerman
Thank you, that's helpful. Is there a way to get all roots of a Python function on an interval? On Friday, June 20, 2014 2:10:38 AM UTC-7, Dima Pasechnik wrote: > > On 2014-06-20, David Ingerman > wrote: > > Thank you, so what to do for Python function? Matlab ha

[sage-support] Re: Solve for a function defined in a file?

2014-06-21 Thread David Ingerman
Thank you, that makes sense. My Python function is not continuous though, has poles, so I'll probably have to plot it to find its zeros... On Saturday, June 21, 2014 1:21:06 AM UTC-7, Dima Pasechnik wrote: > > On 2014-06-21, David Ingerman > wrote: > > Thank you, that&#

[sage-support] Re: Solve for a function defined in a file?

2014-07-06 Thread David Ingerman
Have zeros of order 2 too, so the sign change doesn't help in general, but may work for some zeros. Thank you!... On Saturday, June 21, 2014 1:21:06 AM UTC-7, Dima Pasechnik wrote: > > On 2014-06-21, David Ingerman > wrote: > > Thank you, that's helpful. Is there a

Re: [sage-support] Clifford Algebras, grrrrrr

2014-07-26 Thread David Joyner
Have you looked at what sympy already has for Clifford algebras? On Saturday, July 26, 2014, Stephen Kauffman wrote: > I attempted to create a Clifford Algebra for space-time with the gamma > matrices using the FreeAlgebraQuotient in analogy to the example for > constructing a quarternion algebr

Re: [sage-support] Fourier Transforms in sage

2014-08-15 Thread David Joyner
On Fri, Aug 15, 2014 at 4:59 PM, Oscar wrote: > I wanted to calculate some Fourier transforms, and it seems like sage > doesn't have them. I was expecting something on the likes of mathematica's > command > > sage: fourier_transform(exp(-I*omega0*t) , t, omega ) > sqrt(2*pi)*dirac_delta(omega-omeg

Re: [sage-support] Sage and latest debian problem

2014-12-17 Thread David Joyner
On Wed, Dec 17, 2014 at 10:22 PM, wrote: > Hi, > so I was thinking about moving from Mathematica to Sage so I downloaded the > binary version for Linux 32-bits. Afaik I should just be able to run sage > with ./sage after extracting it but it doesn't work I get the following > message: > > ImportE

Re: [sage-support] Sage and latest debian problem

2014-12-17 Thread David Joyner
On Wed, Dec 17, 2014 at 11:17 PM, wrote: > It's 7, 32bits. > I know this is some work, but can you create a partition with a 64 bit debian? AFAIK, the need for 32 bit, for most people, expired some time ago. > On Thursday, December 18, 2014 1:58:11 AM UTC-2, David Joyner wrote

Re: [sage-support] differentiating large function problem

2014-12-22 Thread David Joyner
On Mon, Dec 22, 2014 at 2:38 PM, Brian Sherson wrote: > Dustin, I don’t think you can use LaTeX syntax to define f. > Agreed. However, there is this: http://www2.ph.ed.ac.uk/snuggletex/documentation/generating-maxima-input.html which might help. You would need to use Maxima directly. > ~Brian >

Re: [sage-support] Fwd: error in Sage

2014-12-30 Thread David Joyner
On Tue, Dec 30, 2014 at 2:18 AM, William Stein wrote: > -- Forwarded message -- > From: Aneta Buraczyńska > Date: Mon, Dec 29, 2014 at 11:03 PM > Subject: error in Sage > To: William Stein > > > Dear Mr William Stein, > > I am writing with request for contact to Sage creators or

Re: [sage-support] How to implement a group action in Sage? two

2015-01-02 Thread David Joyner
On Fri, Jan 2, 2015 at 9:14 AM, Nilo de Roock wrote: > ( cross-posted in Mathematics SE ) > implement a group action in Sage ( for educational purposes )? > > Let S= {"A","B","C","D"} and S4= SymmetricGroup(4). I want to create a table > of the action S4 x S -> S which standardly permutes the le

Re: [sage-support] Find real root

2015-01-09 Thread David Joyner
On Fri, Jan 9, 2015 at 5:34 AM, Santanu Sarkar wrote: > Dear all, > > I have one polynomial > f_x(y) =y^3 +f_1(x) y^2 +f_2(x) y + f_3(x). > > Since it is a cubic polynomial, it has atleast > one real root. > I want to find that real root as a function of x. > I know that x \in [a,b]. > There is

Re: [sage-support] Finite, connected digraphs returning infinite diameter

2015-01-11 Thread David Joyner
On Sun, Jan 11, 2015 at 5:49 PM, Andrew Russell wrote: > I'm running Sage 6.4.1 on OS X (Yosemite). Creating a finite, connected DAG > with n vertices (for any n that I tried) returned +Infinity. EG: > > sage: digraphs.Path(10).diameter() > +Infinity > > or even > > sage: digraphs.ButterflyGraph

Re: [sage-support] Re: Permutation actions on vectors

2015-01-13 Thread David Joyner
On Tue, Jan 13, 2015 at 2:18 PM, Sihuang Hu wrote: > Yes, it is related, but not what I want. Are you sure? sage: L = [sorted(sorted(I.orbit(list(x for x in GF(2)^3] sage: set(map(tuple, L)) {([0, 0, 0],), ([0, 0, 1], [0, 1, 0], [1, 0, 0]), ([0, 1, 1], [1, 0, 1], [1, 1, 0]), ([1, 1, 1],)}

Re: [sage-support] doing an example in the Laplace section and it's giving me an error

2015-03-03 Thread David Joyner
On Mon, Mar 2, 2015 at 10:47 PM, Scott Richardson wrote: > Hello, I was doing the spring mass example, by copy and paste, in this > location http://www.sagemath.org/doc/tutorial/tour_algebra.html. > > Got an error pointing to the following: "-%at". > > Image attached with the issue circled in red.

[sage-support] number of rational points of Fermat curves over a finite field

2015-03-03 Thread David Joyner
Hi Sage-support: At his request, the question below is posted for Norm Hurt, who is not on this list. - David I was reading a recent paper of Arakelian and Borges on Frobenius nonclassicality of Fermat curves with respect to cubics, in which at some point they state that the curve C: X^8 + Y^8

Re: [sage-support] bug report with Rubik's cube functions

2015-03-19 Thread David Joyner
On Thu, Mar 19, 2015 at 8:07 AM, Pierre wrote: > Hi, > > I have just realized this, and thought it would be helpful to know for > anyone playing with Sage's Rubik's cube abilitites. Here it is: > > While the following 3 commands: > > sage: CubeGroup().move("U") > > and > > sage: CubeGroup().plot3d

Re: [sage-support] bug report with Rubik's cube functions

2015-03-19 Thread David Joyner
pprops.subwiki.org/wiki/Switching_between_the_left_and_right_action_conventions > On Thursday, March 19, 2015 at 3:32:18 PM UTC+1, David Joyner wrote: >> >> On Thu, Mar 19, 2015 at 8:07 AM, Pierre wrote: >> > Hi, >> > >> > I have just realized this, and

Re: [sage-support] solving equation involving absolute values

2015-03-24 Thread David Joyner
On Tue, Mar 24, 2015 at 1:04 AM, sundar wrote: > Hello > > I am newbie to sagemath. I have windows 8 and sage version is 6.4.1. I am > running it inside virtualbox. > I was reading some thing about solving equations on sage website at > http://www.sagemath.org/doc/reference/calculus/sage/symbolic/

Re: [sage-support] Working with polynomials (or at least trying to)

2015-04-05 Thread David Joyner
On Sat, Apr 4, 2015 at 8:29 PM, absinthe wrote: > Dear all, > > I'm trying to work with polynomials modulo x^N-1 whose coefficients belong > to Z_p (If it helps p is a power of a prime). I know that I'm doing > something wrong, but I cannot figure out what so any help is welcome. > p=32 > N=100 >

[sage-support] Re: sage 6.6: error building r

2015-04-22 Thread David Einstein
I too am having this problem. I recently upgraded Xcode to 6.3.1 and am running OSX 10.10.3. I have homebrew, but have removed it and all the /usr/local stuff from my environment. Also I am using the sage built gcc (I set SAGE_INSTALL_GCC=yes), which should (in theory) moot the homebrew issue

[sage-support] Re: sage 6.6: error building r

2015-04-22 Thread David Einstein
, April 22, 2015 at 5:35:54 PM UTC-4, David Einstein wrote: > > I too am having this problem. I recently upgraded Xcode to 6.3.1 and am > running OSX 10.10.3. I have homebrew, but have removed it and all the > /usr/local stuff from my environment. Also I am using the sage built g

Re: [sage-support] Sym Py vs Maxima for symbolic computation

2015-04-28 Thread David Joyner
On Tue, Apr 28, 2015 at 7:32 PM, William Stein wrote: > On Tue, Apr 28, 2015 at 2:34 PM, Alexander Lindsay wrote: >> My understanding is that sage offers interfaces to both sympy and Maxima. My >> interest is in symbolic solution of equations, often including ODEs and >> PDEs. Between sympy and

Re: [sage-support] Explicit solution (not implicit) for a separable ODE

2015-05-05 Thread David Joyner
On Tue, May 5, 2015 at 12:58 PM, Jotace wrote: > Hello, > > I am trying to obtain the explicit expression for the solution od an ODE, my > code is > var('k') > y= function('y',x) > h=desolve(diff(y,x) - k*y*(1-y),y, ivar=x) > h > > I would like to isolate y(x) = ... (with the computer, of course)

Re: [sage-support] Decimal Answers

2015-05-11 Thread David Joyner
On Mon, May 11, 2015 at 3:15 PM, Selah Bryce wrote: > How do you find the decimal that is equal to 7950734897590/87 > You don't say how many places you want. There are lots of ways if that doesn't matter, for example 7950734897590/87.0 > -- > You received this message because you are subscribed

Re: [sage-support] Cyclic Codes

2023-07-11 Thread David Joyner
On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS wrote: > Hi ! > > I have been facing problems to describe cyclic codes over finite extension > fields. It is easy to do with GF(p), but I can´t explicit codes over > GF(p^m) (noticing all the mathematical background). Anyone could provide me >

Re: [sage-support] Cyclic Codes

2023-07-11 Thread David Joyner
gt; Em terça-feira, 11 de julho de 2023 às 05:13:49 UTC-3, David Joyner > escreveu: > >> On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS >> wrote: >> >>> Hi ! >>> >>> I have been facing problems to describe cyclic codes over finite >>> exte

Re: [sage-support] Can not run make

2023-07-16 Thread David Joyner
On Sun, Jul 16, 2023 at 5:33 AM Tim M wrote: > Good evening all, I am trying to run make but get the following error. > make build/make/Makefile --stop > make[1]: Entering directory '/home/macka/Sage/sage-9.5' > rm -f config.log > mkdir -p logs/pkgs > ln -s logs/pkgs/config.log config.log > > ***

Re: [sage-support] Can not run make

2023-07-17 Thread David Joyner
9.5 for my > version of Linux. > What happens when you try to run configure as macka? What release of linux are you running? > > Any help is appreciated > > On Sunday, 16 July 2023 at 19:41:09 UTC+10 David Joyner wrote: > >> On Sun, Jul 16, 2023 at 5:33 AM Tim M w

Re: [sage-support] Can not run make

2023-07-18 Thread David Joyner
d... yes >> >>> > checking for shared library run path origin... done >> >>> > checking for root user... yes >> >>> > configure: error: You cannot build Sage as root, switch to an >> unprivileged user. (If building in a container, use &g

[sage-support] Re: Calling Sage on Windows from external scripts

2023-12-02 Thread David Ayotte
perability. David A. Le samedi 2 décembre 2023 à 18:30:05 UTC-5, Sean Fitzpatrick a écrit : > I am wondering if anyone has experience installing Sage on Windows via > WSL, and calling Sage as an executable from another program that's > installed locally on Windows. >

[sage-support] Re: [sage-edu] This site can't be reached localhost refused to connect.

2023-12-08 Thread David Joyner
You should email sage-support (cc'd). This list is for teaching with sage. On Fri, Dec 8, 2023, 2:37 PM Taylors SC wrote: > When I would open the Sage app, it would open an Jupyter notebook in a > Chrome window. Now when I open the Sage app, it opens a browser window, but > it has the message "T

[sage-support] sage 10.3.b2 build problem on OSX 12.7.1

2023-12-15 Thread David Joyner
/editables-0.5.log The corresponding log is attached. Does anyone have any suggestions on how to fix this? - David -- 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, se

[sage-support] Re: Problem with rebuilding Sage

2023-12-15 Thread David Ayotte
Can you post the following log file: /home/ruchitjagodara/sage/sage/logs/pkgs/sagelib-10.3.beta0.log here? There might be some error message that would help us find the problem. Best, David A. Le vendredi 15 décembre 2023 à 14:00:02 UTC-5, Ruchit Jagodara a écrit : > I am trying

Re: [sage-support] Re: sage 10.3.b2 build problem on OSX 12.7.1

2023-12-16 Thread David Joyner
t; > On Friday, December 15, 2023 at 10:52:10 AM UTC-8 David Joyner wrote: > >> Hi: >> >> I tried to compile sage and got this: >> >> The following package(s) may have failed to build (not necessarily >> >> during this run of 'make all-star

Re: [sage-support] Problem with rebuilding Sage

2023-12-17 Thread David Ayotte
Sometime the build and test checks fail for unrelated reasons. You can always post your PR number here; we can look at it. Le samedi 16 décembre 2023 à 13:18:24 UTC-5, Ruchit Jagodara a écrit : > This worked, but it's still not convenient because ./sage -br was much > faster than this. I notice

[sage-support] init.sage not running anymore

2024-03-03 Thread David Ayotte
/prompt_toolkit/application/application.py:988: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() Do anybody know what happened here? I like to use this script for defining some frequently used variables. Best, David A. -- You received this message because

[sage-support] Re: init.sage not running anymore

2024-03-04 Thread David Ayotte
a GH issue. Thanks for your replies! David A. Le lundi 4 mars 2024 à 17:04:28 UTC-5, kcrisman a écrit : > > Hello, > > Since I upgraded my SageMath to version 10.3.beta8, the init.sage script > located at ~/.sage/init.sage stopped running when I start sage. I also get >

[sage-support] Re: init.sage not running anymore

2024-03-04 Thread David Ayotte
I opened the following issue: #37539 <https://github.com/sagemath/sage/issues/37539> Best, David A. Le lundi 4 mars 2024 à 17:04:28 UTC-5, kcrisman a écrit : > > Hello, > > Since I upgraded my SageMath to version 10.3.beta8, the init.sage script > located at ~/.sage/init

[sage-support] bug in plot?

2024-03-14 Thread David Joyner
using 'SageMath version 10.3.rc1, Release Date: 2024-02-29' on an ubuntu machine. Can anyone tell what is going on here? I'm happy to attached jpgs of the plots I get, if desired. For comparison, it appears that Sympy plots this correctly. - David Joyner -- You received this mes

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
might help: > > rcParams['axes.formatter.use_offSet'] = False > rcParams["axes.formatter.offset_threshold"] > > > On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > > Hi: > > I'm trying to show my students a plot of > a rational f

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
on.jpg] > On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > >> Hi: >> >> I'm trying to show my students a plot of >> a rational function whose graph is basically 1, >> so I plotted >> f(x) = (x^2+0.0001)/(x^2+0.000101) >> However, t

Re: [sage-support] bug in plot?

2024-03-15 Thread David Joyner
On Thu, Mar 14, 2024 at 8:17 PM Dima Pasechnik wrote: > > > On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik wrote: > >> >> >> On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: >> >>> >>> >>> On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >>> >I get the impression that without setting ymi

Re: [sage-support] Functions source code

2024-05-02 Thread David Joyner
On Thu, May 2, 2024 at 3:57 AM Andrea Zatti wrote: > > I am currently engaged in the study of graph theory for my master’s thesis. > For my work, I need to utilize the functions is_isomorphic and is_subgraph. I > want to gain a deeper understanding of the underlying code for these two > functio

[sage-support] Re: The binary distribution of sage wont run in ubuntu

2008-10-15 Thread David Joyner
I don't know the problem. An obvious thought: I guess you know you have amd64 bit ubuntu installed as opposed to 32 bit? This wasn't clear from your email. Also, one website suggested that notebook has an (intel) centrino chip, not the amd64 bit chip the binary I think is built for. I could easil

[sage-support] calling a C program in sage with terminal output

2008-10-16 Thread David Joyner
er. Also, what is the proper way to do this? I'm guessing one should write wrapper classes as in the interfaces directory but is swig better? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscrib

[sage-support] Re: calling a C program in sage with terminal output

2008-10-16 Thread David Philp
On 17/10/2008, at 10:51 AM, David Joyner wrote: > > Hi: > > I want to call a C program in Sage which is included with Sage > (wtdist). > What is the easiest way to do this? The line I'd like to execute > looks like > > wtdist filename::code > output

[sage-support] Re: substituting nested variable definitions

2008-10-17 Thread David Joyner
Would it be better to add a method="recursive" option to the current subs method? To answer your question though, I think the procedure to add anything to Sage is to create a patch and submit it to trac. See the Programming guide for some hints. On Fri, Oct 17, 2008 at 3:23 AM, Stan Schymanski

[sage-support] Re: Project Euler

2008-10-26 Thread David Joyner
I'm sure someone else can give a better answer, but hopefully the below examples help a little. On Sun, Oct 26, 2008 at 7:56 AM, Rolandb <[EMAIL PROTECTED]> wrote: > > Hi, > To learn SAGE takes a while, and good exercises are scarce. > It was mentioned before, but the site http://projecteuler.net

[sage-support] Re: [GAP Support] (no subject)

2008-10-26 Thread David Joyner
Alexander, I already traded several emails with him offlist and now the problem is resolved. I should have informed gap-support earlier. Sorry. On Sun, Oct 26, 2008 at 8:52 AM, Alexander Konovalov <[EMAIL PROTECTED]> wrote: > Hello, > > The download section of the GAP site is > http://www.gap-sys

[sage-support] Re: (no subject)

2008-10-26 Thread David Joyner
Sorry, please ignore this message. It was sent to the wrong list. I'm going to delete it from the sage-support web archives. On Oct 26, 9:47 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > Alexander, I already traded several emails with him offlist and > now the pr

[sage-support] Re: radius of convergence and inequalities

2008-10-27 Thread David Joyner
>From the command line in the sage directory and on a machine with an internet connection, type ./sage -i qepcad-1.50.spkg See also http://sagemath.org/packages/experimental/ On Mon, Oct 27, 2008 at 7:28 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Excuse my ignorance, but how do I install

[sage-support] Re: radius of convergence and inequalities

2008-10-27 Thread David Joyner
On Mon, Oct 27, 2008 at 7:57 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Hi Jason, > > Thanks for that. Unfortunately, the compilation produced some errors. > I put the log at ftp://ftp.bgc-jena.mpg.de/pub/outgoing/sschym/qepcad_errors. > It starts with "Could not determine processor type"

[sage-support] Re: solve, integrate, series

2008-10-27 Thread David Joyner
available at all (eg. contour_plot is not a method, > while plot is.) A general rule would be extremely helpful here. > > Sorry for the rant. I think it is useful having such comments from an experience CAS user, personally. > > More questions: > > Is there a way to obtain

[sage-support] Re: Question about Plot

2008-11-01 Thread David Joyner
This probably doesn't help, but there is a method in axes.py called "tasteless_tick_marks" which I guess you have to figure out how to use somehow. sage: from sage.plot.axes import Axes sage: P = plot(x^2,2,10) sage: Axes(P)._tasteless_ticks(2,10, 10) ([9.1993, 8.4004,

[sage-support] Re: create a file

2008-11-09 Thread David Joyner
I guess you are running Sage from the command line? Does http://www.sagemath.org/doc/tut/node36.html help? Sorry if I'm misunderstanding your question. On Sun, Nov 9, 2008 at 9:47 AM, <[EMAIL PROTECTED]> wrote: > > I've started using sage 2 days ago. I wrote some long code and then I > found o

[sage-support] Re: problems with GAP

2008-11-09 Thread David Joyner
Does this do it? sage: G = GL(2,7) sage: z = G.center().an_element() sage: reps = [x.Representative() for x in gap(G).ConjugacyClasses()] sage: reps.index(gap(z)) 8 sage: table = gap(G).CharacterTable().Irr() sage: chi = table[2] sage: chi[8] 1 On Sun, Nov 9, 2008 at 12:58 PM, Martin Mereb <[EM

[sage-support] Re: problems with GAP

2008-11-09 Thread David Joyner
Done. It's http://trac.sagemath.org/sage_trac/ticket/4487 On Sun, Nov 9, 2008 at 3:10 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Sun, Nov 9, 2008 at 10:29 AM, Martin Mereb <[EMAIL PROTECTED]> wrote: >> >> thank you so much >> it worked!! &

[sage-support] Re: problems with GAP

2008-11-09 Thread David Joyner
It might not be implemented but I'm not sure what you mean exactly. You have database_gap-4.4.10 installed? What is the exact command you cannot execute? On Sun, Nov 9, 2008 at 12:17 PM, Martin Mereb <[EMAIL PROTECTED]> wrote: > > GAP has a CharacterTable( ) for finite groups of lie type but in

[sage-support] Re: problems with GAP

2008-11-09 Thread David Joyner
.eval(Z) or something like that? > or making the CharachterTable function available for groups in SAGE, like GL > not only the permutationgroups, as GAP does? > (like.. in a future) > > On Sun, Nov 9, 2008 at 12:11 PM, David Joyner <[EMAIL PROTECTED]> wrote: >> >>

[sage-support] Re: [sage-edu] Question on Lie Groups/Algebras

2008-11-10 Thread David Joyner
This group is for education-related questions, so I'm cross-posting to sage-support. First, dio you know about the Lie manual at http://www-math.univ-poitiers.fr/~maavl/LiE/? It is only in dvi form. If you need a pdf, just ask. On Mon, Nov 10, 2008 at 11:29 PM, RamBo <[EMAIL PROTECTED]> wrote:

[sage-support] Re: problem with for

2008-11-17 Thread David Joyner
On Mon, Nov 17, 2008 at 3:24 PM, Martin Mereb <[EMAIL PROTECTED]> wrote: > > I see I expressed myself wrong > (I meant the problem was in the "for" line) > so what's going on is that gap is attempting to built first the whole > list and that is taking way too much time (right?) > are there any ite

[sage-support] Re: How to use tar from Sage?

2008-11-19 Thread David Joyner
On Wed, Nov 19, 2008 at 12:02 PM, Simon King <[EMAIL PROTECTED]> wrote: > > Sorry for replying to myself, but I also have a follow-up question. > > On Nov 19, 1:40 pm, Simon King <[EMAIL PROTECTED]> wrote: >> How can I do the same thing when I am in Sage, using the following >> variables? > > Mean

[sage-support] Re: lists, vectors, arrays in equations?

2008-11-19 Thread David Joyner
On Wed, Nov 19, 2008 at 12:19 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Stan Schymanski wrote: >> Hi Mike and Jason, >> >> Thanks a lot for the quick response. My problem becomes a bit more >> obvious if I have a function of several variables. Then the map >> function becomes somehow impracti

[sage-support] Re: bug in integral?

2008-11-19 Thread David Joyner
Thanks for reporting this. I emailed the maxima users list. On Wed, Nov 19, 2008 at 11:50 AM, pong <[EMAIL PROTECTED]> wrote: > > Maybe someone has reported this already... but looks like there is a > bug in integral > > sage: integral(x*abs(9-x^2), x, -6, 0) > 162 > > The integrand is negative

[sage-support] sage notebook sws problem in windows

2008-11-19 Thread David Joyner
problem here? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-suppo

[sage-support] Re: sage notebook sws problem in windows

2008-11-19 Thread David Joyner
(in woindows). > > On Wed, Nov 19, 2008 at 12:40 PM, David Joyner <[EMAIL PROTECTED]> wrote: >> >> Hi: >> >> Perhaps this is known but I didn't find this in a quick search. >> I don't use windows or the notebook but my students do >> and they

[sage-support] Re: How to use tar from Sage?

2008-11-19 Thread David Joyner
depends whether speed is an issue. On Wed, Nov 19, 2008 at 2:25 PM, Simon King <[EMAIL PROTECTED]> wrote: > > Hello again... > > On Nov 19, 6:18 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: >> Is this platform >> independent??http://www.python.org/d

[sage-support] Re: bug in integral?

2008-11-20 Thread David Joyner
) > integrate(abs(x), x) > > sage: integral(max(x,-x),x) > x^2/2 > > If that's for sure a bug coming from maxima, I hope someone it can be > reported to their bug list. > I can see that it has been reported by David to the maxima-user list, > but somehow it does not

[sage-support] Re: Quitting sage

2008-11-22 Thread David Joyner
On Sat, Nov 22, 2008 at 8:08 PM, Thomas Madden <[EMAIL PROTECTED]> wrote: > > Sorry for the simple question, but I don't know if I am quitting sage > properly or even if it matters. I am new to open source and have > little experience using Terminal. I am using OS X 10.5.5 and Safari > 3.2. If I s

[sage-support] Re: Plot in spherical coordinates.

2008-11-23 Thread David Joyner
I don't understand your question exactly. Is this a paramateric plot in x,y,z space you want to plot? For example, do you want to plot something like an ellipsoid? On Sun, Nov 23, 2008 at 5:40 AM, A.Z. <[EMAIL PROTECTED]> wrote: > > I want to plot a function in spherical coordinates (rho, phi, t

[sage-support] Re: substitution in and integration of piecewise functions

2008-11-24 Thread David Joyner
On Mon, Nov 24, 2008 at 6:19 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi, > > when I use regular expressions, I can use .subs(): > > sage: e = x+y > sage: e.subs(x=y) > 2*y > > but not with Piecewise: > > sage: var("h H x y") > (h, H, x, y) > sage: u = Piecewise([((0, h), x/h), ((h, H), 1)])

[sage-support] Re: substitution in and integration of piecewise functions

2008-11-24 Thread David Joyner
On Mon, Nov 24, 2008 at 7:25 AM, David Joyner <[EMAIL PROTECTED]> wrote: > On Mon, Nov 24, 2008 at 6:19 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> Hi, >> >> when I use regular expressions, I can use .subs(): >> >> sage: e = x+y >> sa

[sage-support] Re: substitution in and integration of piecewise functions

2008-11-25 Thread David Joyner
en the rest of the calculus library. I think it > > Just for the record, this is because Piecewise was implemented long > long ago by David Joyner, probably a year before any of the rest of > the calculus library was implemented.It definitely needs to be > somehow integrated

[sage-support] Re: definition of a function with the help of its derivative

2008-11-27 Thread David Joyner
Do you mean something like in the tutorial http://www.sagemath.org/doc/tut/node14.html or do you want something different? On Thu, Nov 27, 2008 at 5:02 AM, pieter <[EMAIL PROTECTED]> wrote: > > Dear Sage users, > > Is it possible in Sage to define a function with the help of its > derivative? >

[sage-support] Re: Sage notebook running in Google Chrome: Cannot login

2008-11-29 Thread David Joyner
I don't have the answer but just to clarify. Since at least for me (in the US) google chrome is not available on any linux or mac platform, I'm guessing (a) you have google chrome running on a windows pc and sage running on a separate machine? (b) You are trying to run sage via the windows pc's

[sage-support] Re: Sylow 3-subgroups

2008-11-30 Thread David Joyner
Yes, sage: G = PGL(2,3) sage: G.sylow_subgroup(3) Permutation Group with generators [(2,4,3)] Type sage: G.sylow_subgroup? for more details. +++ On Sun, Nov 30, 2008 at 2:35 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hallo > I am newbie

[sage-support] Re: definition of a function with the help of its derivative

2008-11-30 Thread David Joyner
d. > I have, however, a fourth-order system. > I have written a Maple-program to perform this task for the fourth- > order system. > I wonder if this can be done with Sage. > > Regards, > Pieter > > > On Nov 27, 5:29 pm, Simon King <[EMAIL PROTECTED]> wrote: >

[sage-support] Re: definition of a function with the help of its derivative

2008-11-30 Thread David Joyner
On Sun, Nov 30, 2008 at 3:41 PM, David Joyner <[EMAIL PROTECTED]> wrote: > It's been awhile since I used Maple and I still don't understand your > question. > Is it possible to copy+paste a Maple session in and then just ask > "can this be done in sage"?

[sage-support] Re: Sylow 3-subgroups

2008-11-30 Thread David Joyner
wrote: > > thanks for your help > I tried this command but i got this error > 'SpecialLinearGroup_finite_field' object has no > attribute 'sylow_subgroup' > > s=SL(2,FiniteField(5)) > s.sylow_subgroup(2) > > On 30 Nov., 21:32, "David Joyner" &

[sage-support] Re: Groups, Rings, Fields?

2008-11-30 Thread David Joyner
A couple of sources over the web: (a) http://wdjoyner.com/teach/book/ and (a bit harder and for group theory only) (b) http://www.opensourcemath.org/books/gaglione-gp-thry/ (pdf: http://www.opensourcemath.org/books/gaglione-gp-thry.pdf) might fit the bill. Next level up from (a) might be (c) A Fir

[sage-support] Re: Conversion to/from polynomial?

2008-12-02 Thread David Joyner
Yes, sage: R. = PolynomialRing(QQ,"x") sage: a = 3*x^3+x^2+x+5 sage: b = 5*x^2-3*x +1 sage: c = a/b sage: c.partial_fraction_decomposition() --- TypeError Traceback (most recent call last) ...

[sage-support] sage and tkinter?

2008-12-03 Thread David Joyner
r/lib/tcl8.4 /usr/lib64/tcl8.4 /usr/include/tcl8.4 - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: sage and tkinter?

2008-12-03 Thread David Joyner
ation. It's probably a matter of adding a path somewhere or modifying an environmental variable. On Wed, Dec 3, 2008 at 10:43 AM, Adam Webb <[EMAIL PROTECTED]> wrote: > > Hi, > > Do you have tcl-devel and tk-devel installed? I would expect that > these are also needed when

[sage-support] Re: sage and tkinter?

2008-12-03 Thread David Joyner
> listed at SAGE_ROOT/spkg/installed. One could also look at > http://sagemath.org/packages/standard/ > > I think the order of the last command is wrong, though, it should be: > sage -f -i python-2.5.2.p8 > > (at least with the latest version of the packages) > &g

[sage-support] Re: sage and tkinter?

2008-12-03 Thread David Joyner
But tcl/tk is not a python package. tkinter is the python interface to it and it is included with every python distribution (including Sage's). The problem is that to import it, tkinter.py looks for tcl/tk using some magic I couldn't figure out. Adrian's suggestion (or William's, and I think now

[sage-support] Re: sage and tkinter?

2008-12-03 Thread David Joyner
I wonder if this should be mentioned in install.tex somewhere? On Wed, Dec 3, 2008 at 2:48 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > To reiterate: if you don't have the tcl/tk development libraries > installed the extension will fail to build. The system python had > working bindings since t

[sage-support] Re: Some Math Resources that may be of interest

2008-12-04 Thread David Joyner
Looks like the Sage tutorial except it has a lot of exercises and statistical examples. There are also some cool dynamical systems examples. I agree, that the tutorial at least needs more statisitcs. I'm not how sure the new documentation system rest/sphynx handles graphics. If graphics are no pr

[sage-support] Re: Ideas for Sage Notebook functionality?

2008-12-04 Thread David Joyner
On Thu, Dec 4, 2008 at 3:29 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Jason Grout wrote: >> I agree with you that we could (and should?) do a lot to support >> graphics as an integral part of calculations. I've spent some time >> thinking about it. If we used TinyMCE or some other editor, I

[sage-support] Re: sage and tkinter?

2008-12-04 Thread David Joyner
On Thu, Dec 4, 2008 at 2:40 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Wed, Dec 3, 2008 at 11:58 AM, mabshoff > <[EMAIL PROTECTED]> wrote: >> >> >> >> On Dec 3, 11:56 am, "David Joyner" <[EMAIL PROTECTED]> wrote: >>>

[sage-support] sage and pil and tkinter?

2008-12-04 Thread David Joyner
ngtk.c:51: error: 'TkappObject' has no member named 'interp' _imagingtk.c:55: warning: implicit declaration of function 'TkImaging_Init' error: command 'gcc' failed with exit status 1 Try again without tkinter running install Any ideas on how to fix this? - Da

[sage-support] Re: sage and tkinter?

2008-12-05 Thread David Joyner
On Thu, Dec 4, 2008 at 3:10 PM, William Stein <[EMAIL PROTECTED]> wrote: > >> >> Done. >> I posted a draft to >> http://wiki.sagemath.org/faq#HowtogetSage.27sPythontorecognizemysystem.27sTcl.2BAC8-Tkinstall.3F >> Can someone please check it over to see if it makes sense? > > It looks good to me.

[sage-support] Re: Is this a bug to everyone else?

2008-12-05 Thread David Joyner
I get sage: var('x') x sage: f = sin(x)/x sage: g = f.integrate(x) sage: g integrate(sin(x)/x, x) in 3.2.1.rc1. Personally, I would call this a missing feature, not a bug. Interestingly, it can compute sage: f.integrate(x,0,infinity) pi/2 sage: f.integrate(x,-infinity,infinity) pi On Fri, De

[sage-support] Re: convert sequence to vector?

2008-12-05 Thread David Joyner
You forgot the "[0]": sage: m = matrix([[1,2,2],[2,1,2],[2,2,1]]); m [1 2 2] [2 1 2] [2 2 1] sage: es = m.eigenvectors_right(); es [(5, [ (1, 1, 1) ], 1), (-1, [ (1, 0, -1), (0, 1, -1) ], 2)] sage: eval, evec, degen = es[0]; evec[0] (1, 1, 1) sage: m*evec[0] (5, 5, 5) On Fri, Dec 5, 2008 at

[sage-support] Re: sage and pil and tkinter?

2008-12-05 Thread David Joyner
On Fri, Dec 5, 2008 at 2:13 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 4, 5:28 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: >> Hi: >> >> >> >> building '_imagingtk' extension >> creating build/te

[sage-support] Re: sage and pil and tkinter?

2008-12-05 Thread David Joyner
chaos.quaditerate import * sage: M = Mandelbrot() On Fri, Dec 5, 2008 at 3:40 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 5, 11:37 am, "David Joyner" <[EMAIL PROTECTED]> wrote: >> On Fri, Dec 5, 2008 at 2:13 AM, mabshoff > > > >> > The

[sage-support] Re: Change of variable in Differential Equation

2008-12-08 Thread David Joyner
Personally I don't see how As a guess, for a substitution like you want to work, the following much simpler computation sage: t = var('t') sage: x = function('x', t) sage: y = function('y', x) sage: diff(y,t) diff(y(x(t)), t, 1) should yield not diff(y(x(t)), t, 1) but perhaps something like d

[sage-support] Re: How do I create a matrix whose elements are functions of the row & column indices?

2008-12-10 Thread David Joyner
One way to do it (for a 10x10): sage: n = 10 sage: M = Matrix(n,n,[[1/(i+j) for i in range(1,11)] for j in range(1,11)]) sage: M [ 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 1/11] [ 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 1/11 1/12] [ 1/4 1/5 1/6 1/7 1/8 1/9 1/10 1/11 1/12 1/13] [ 1/5 1/6

<    2   3   4   5   6   7   8   9   10   11   >