Hi,
I ran across the Imperial Collge Metric project which looked
at mathematics education. An archive of some old work
is at:
http://metric1.ma.imperial.ac.uk/
In particular interest is an Intro to Mathematica,
http://metric1.ma.imperial.ac.uk/mathematica/
and the PDF:
http://metric1.ma.imperi
On Dec 3, 2008, at 10:26 PM, Jeffrey Straszheim wrote:
Tim Lahey wrote:
Hi,
I'm an engineer by training, so my knowledge of
mathematics is very applied. A lot of things in
Sage deal with Groups, Rings, and Fields so I'd
like to broaden and improve my mathematics knowledge.
Could someone sugg
Robert Bradshaw wrote:
> I already wrote such a thing, see http://hg.sagemath.org/sage-main/
> file/5be1d5ad8339/sage/misc/parser.pyx . To implement hold, one would
> modify the preparser to do something like
>
> hold(...) -> SR("...", no_simplification=True)
>
> and of course make sure it p
On Dec 3, 2008, at 7:38 PM, Jason Grout wrote:
>
> Robert Bradshaw wrote:
>> On Dec 3, 2008, at 10:42 AM, Jason Grout wrote:
>>
>>> So, bringing up an issue that has come up before, there is no
>>> way to do
>>> the equivalent of the Hold or HoldAll commands in Mma? See
>>> http://reference.w
On Dec 3, 2008, at 11:15 PM, Robert Bradshaw wrote:
This requires good working knowledge of python style, which is even
rarer than good working knowledge of English :).
Of all the options, I think passing a keyword like "unevaluated=True"
is the best one so far. It's certainly going to be th
On Dec 3, 2008, at 7:54 PM, Jason Grout wrote:
> Robert Bradshaw wrote:
>
>>> Another way to do it might be to have classes like Integrate (as
>>> opposed
>>> to functions), that represent an integral.
>>
>> I'm not a fan of making such a distinction based on the
>> capitalization of the first le
On Dec 2, 2008, at 2:10 PM, Scott Walck wrote:
> Hello,
>
> Is there a reason why I cannot do
>
> f(x)=abs(x)
> f(vector([1,2,3]))
>
> Many related things work fine:
>
> abs(vector([1,2,3])) # works
>
> def f(x): return abs(x)
> f(vector([1,2,3])) # works
>
> Session below shows the tr
Robert Bradshaw wrote:
>> Another way to do it might be to have classes like Integrate (as
>> opposed
>> to functions), that represent an integral.
>
> I'm not a fan of making such a distinction based on the
> capitalization of the first letter, but it would make sense to have
> integral (
Robert Bradshaw wrote:
> On Dec 3, 2008, at 10:42 AM, Jason Grout wrote:
>
>> Robert Bradshaw wrote:
>>> On Dec 3, 2008, at 5:55 AM, Stan Schymanski wrote:
>>>
Dear all,
Could anyone tell me how to controll the order in which arguments
are
evaluated when they are passed
Tim Lahey wrote:
> Hi,
>
> I'm an engineer by training, so my knowledge of
> mathematics is very applied. A lot of things in
> Sage deal with Groups, Rings, and Fields so I'd
> like to broaden and improve my mathematics knowledge.
> Could someone suggest a good introductory reference
> (and possib
Tim Lahey wrote:
>> I'm not a fan of making such a distinction based on the
>> capitalization of the first letter, but it would make sense to have
>> integral (the noun) be unevaluated, and integrate (the verb) actually
>> do the work.
That would make sense to me. There should be an easy way to
On Dec 3, 2008, at 9:58 PM, Robert Bradshaw wrote:
On Dec 3, 2008, at 10:42 AM, Jason Grout wrote:
So, bringing up an issue that has come up before, there is no way
to do
the equivalent of the Hold or HoldAll commands in Mma? See
http://reference.wolfram.com/mathematica/ref/Hold.html?q=Ho
On Dec 3, 2008, at 10:42 AM, Jason Grout wrote:
> Robert Bradshaw wrote:
>> On Dec 3, 2008, at 5:55 AM, Stan Schymanski wrote:
>>
>>> Dear all,
>>>
>>> Could anyone tell me how to controll the order in which arguments
>>> are
>>> evaluated when they are passed to python functions? It seems that
Thanks!!!
On Dec 3, 6:28 am, Marshall Hampton <[EMAIL PROTECTED]> wrote:
> Mathematica does have some extra abilities in 3D graphics compared
> with Sage. We do have the infrastructure in place to catch up though,
> I hope to help with things like this soon.
>
> I think for your example Sage isn
> Care to open a ticket to update the docstring? I think it would be
> good to mention that on low memory systems one should set some timeout
> since otherwise Sage will gobble up all available memory if there are
> many users.
This is now # 4691.
--~--~-~--~~~---~--~
> > If my init.sage contains implicit_multiplication(True), then with an
> > interact in the first cell I get an error message about EMBEDDED_MODE
> > not supporting implicit multiplication; the rest evaluate normally.
> > I should point out that the cells in question do not ask for any
> > impli
On Dec 3, 10:59 am, kcrisman <[EMAIL PROTECTED]> wrote:
Hi,
> Just wanted to follow up on this for the collective good...
Yep, that seems like a good idea.
> > c) could easily. Did you set the timeout parameter for the server?
>
> > timeout -- (default: 0) seconds until idle work
On Dec 3, 12:52 pm, kcrisman <[EMAIL PROTECTED]> wrote:
Hi,
> > Weirdly, I cannot now reproduce the disappearing slider issue, even
> > though it was consistent a few days ago with 3.1.4+. If it crops up
> > again I will report back.
>
> Okay, I can replicate this again - with a different err
Simon King wrote:
> Dear Sage supporters,
Hi,
> as usual, I messed up some Cython module. There was no complaint when
> I included it, but when I called some constructor, I got three times
> the line
> Warning sND: Backtracking
We have backtracking code, but grepping around does not reveal
Jason: Perfect; thank you. This is exactly what I was looking for.
I am just too lazy to evaluate a multivariate probability density
function manually.
Regards,
- vijay
On Dec 3, 3:30 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
> Vijay wrote:
> > Hi: Is there a way to do multivariate integratio
Vijay wrote:
> Hi: Is there a way to do multivariate integration in Sage?
> I tried to look in the FAQ and other documents but could
> not find a suitable answer. The closest I came to was the module
> sage.crypto.mq.mpolynomialsystem, but I don't think this
> is what I am looking for.
>
Could y
Hi: Is there a way to do multivariate integration in Sage?
I tried to look in the FAQ and other documents but could
not find a suitable answer. The closest I came to was the module
sage.crypto.mq.mpolynomialsystem, but I don't think this
is what I am looking for.
Thanks.
--~--~-~--~~
> Weirdly, I cannot now reproduce the disappearing slider issue, even
> though it was consistent a few days ago with 3.1.4+. If it crops up
> again I will report back.
>
Okay, I can replicate this again - with a different error message.
If my init.sage contains implicit_multiplication(True),
On Nov 30, 1:27 pm, Alex Raichev <[EMAIL PROTECTED]> wrote:
> > It would be helpful if you could give a more concrete example, e.g., a
> > session
> > where you have some elements, and finally want to do something with them.
>
> That's good idea, William. Let me back up to and change my question
On Nov 27, 6:23 pm, Alex Raichev <[EMAIL PROTECTED]> wrote:
> Hi all:
>
> I have a list c of elements of QQbar and want to form the field
> generated by QQ and the elements of c. What's the easiest way to do
> this?
> I looked through section 29.1 Number Fields of the Sage reference
> manual
On Dec 3, 11:56 am, "David Joyner" <[EMAIL PROTECTED]> wrote:
> I wonder if this should be mentioned in install.tex somewhere?
I don't see any reason. Getting some extension $FOO to work will
greatly depend on the system for example and that is not the roll of
install.tex.
Cheers,
Michael
--~
Jason Grout wrote:
> Simon King wrote:
>> Dear Jason,
>>
>> On Dec 3, 7:54 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
>>> Wow, Sage will redefine symbols that are already existing to accommodate
>>> what should be a dummy variable? This looks seriously wrong and looks
>>> like it could really mes
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
On Dec 3, 10:54 am, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> On Dec 3, 2008, at 10:48 AM, David Joyner wrote:
>
> > 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 tha
Dear Sage supporters,
as usual, I messed up some Cython module. There was no complaint when
I included it, but when I called some constructor, I got three times
the line
Warning sND: Backtracking
Then, Sage did not react on Ctrl-C. But it was running with almost
100% CPU time. I had to kill it
Simon King wrote:
> Dear Jason,
>
> On Dec 3, 7:54 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
>> Wow, Sage will redefine symbols that are already existing to accommodate
>> what should be a dummy variable? This looks seriously wrong and looks
>> like it could really mess things up.
>
> I don't
PS:
sage: R.=QQ[]
sage: type(R)
sage: type(z)
sage: R=sin(z)
sage: type(R)
sage: type(z)
sage: R(z)=sin(z)
sage: type(R)
sage: type(z)
That's all consistent! R respectively z get a new meaning if and only
if they appear on the left side of an assignment.
Cheers,
Simon
--~--~-~-
Jason Grout wrote:
> Robert Bradshaw wrote:
>> On Dec 3, 2008, at 10:28 AM, adrian wrote:
>>
>>> In the following code:
>>> sage: x=CC['x'].gen()
>>> sage: type(x)
>>> >> 'sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_d
>>> ense_field'>
>>> sage: f(x)=sin(x)
>>> sage: type(x
Dear Jason,
On Dec 3, 7:54 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
> Wow, Sage will redefine symbols that are already existing to accommodate
> what should be a dummy variable? This looks seriously wrong and looks
> like it could really mess things up.
I don't think so. Admittedly I don't li
Just wanted to follow up on this for the collective good...
> >> How much memory do you allocate to the virtual server? Are you sure
> >> that all the memory is being used up?
>
> > My sysadmin says probably 512 MB.
>
> That is not enough. Could you allocate, say... 4GB instead?
We upped to 1
On Dec 3, 2008, at 10:33 AM, adrian wrote:
> sage: limit(x*0,x=oo)
> 0
> sage: limit(x*oo,x=0)
> 0
>
> This seems wrong to me; and probably the problem is that x*oo should
> not be allowed to begin with...
sage: x*oo
(+Infinity)*x
Yeah, that is worrisome...
- Robert
--~--~-~--~~-
Robert Bradshaw wrote:
> On Dec 3, 2008, at 10:28 AM, adrian wrote:
>
>> In the following code:
>> sage: x=CC['x'].gen()
>> sage: type(x)
>> > 'sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_d
>> ense_field'>
>> sage: f(x)=sin(x)
>> sage: type(x)
>>
>>
>> Is this intended?
On Dec 3, 2008, at 10:48 AM, David Joyner wrote:
> 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'
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
Robert Bradshaw wrote:
> On Dec 3, 2008, at 5:55 AM, Stan Schymanski wrote:
>
>> Dear all,
>>
>> Could anyone tell me how to controll the order in which arguments are
>> evaluated when they are passed to python functions? It seems that the
>> functions are evaluated first and then the variables a
On Dec 3, 2008, at 10:28 AM, adrian wrote:
> In the following code:
> sage: x=CC['x'].gen()
> sage: type(x)
> 'sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_d
> ense_field'>
> sage: f(x)=sin(x)
> sage: type(x)
>
>
> Is this intended?
Yes. Otherwise one would need to writ
Thanks Adrian - that worked perfectly!
On Wed, Dec 3, 2008 at 1:07 PM, adrian <[EMAIL PROTECTED]> wrote:
>
> I came accross the same thing a while ago. In the post "GUI for sage"
> http://groups.google.com/group/sage-support/browse_thread/thread/6cea70d6be0436fa/582b7f836eee9816?lnk=gst&q=tk#582
On Dec 3, 2008, at 7:48 AM, David Joyner wrote:
> System wide, it works fine:
>
> [EMAIL PROTECTED]:~/sagefiles/sage-3.2.rc0$ python
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
> Type "help", "copyright", "credits" or "license" for more infor
sage: limit(x*0,x=oo)
0
sage: limit(x*oo,x=0)
0
This seems wrong to me; and probably the problem is that x*oo should
not be allowed to begin with...
-Adrian.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe fr
On Dec 3, 2008, at 5:55 AM, Stan Schymanski wrote:
> Dear all,
>
> Could anyone tell me how to controll the order in which arguments are
> evaluated when they are passed to python functions? It seems that the
> functions are evaluated first and then the variables are substituted,
> which leads to
In the following code:
sage: x=CC['x'].gen()
sage: type(x)
sage: f(x)=sin(x)
sage: type(x)
Is this intended?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
I got the same problem. In ubuntu amd 64 hardy, I got the following
missing:
pebs ssse3 pge clflush sep syscall vme tsc est vmx xtpr nx
constant_tsc pat bts lm msr fpu fxsr tm pae arch_perfmon acpi cx8 mce
de mca pse rep_good ht apic dca monitor lahf_lm tm2 ss ds_cpl pbe cx16
pse36 mtrr dts
sha
I came accross the same thing a while ago. In the post "GUI for sage"
http://groups.google.com/group/sage-support/browse_thread/thread/6cea70d6be0436fa/582b7f836eee9816?lnk=gst&q=tk#582b7f836eee9816
, William Stein suggested the following:
(1) Make sure you've installed the tk devel package.
Ah,
I think I see what you're doing. Thanks for the explanation.
Cheers,
Tim.
On Dec 3, 2008, at 6:04 AM, Simon King wrote:
Dear Tim,
perhaps the following is a better explanation.
In the above situation, "for X in F" yields a list of pairs (x-1,2),
(x
+1,2) etc. In particular, X is n
David Joyner wrote:
> System wide, it works fine:
>
For me it works:
--
| Sage Version 3.2.1, Release Date: 2008-12-01 |
| Type notebook() for the GUI, and license() for information.|
-
Uhm, thx. I didn't thought about the mirrors. This is the correct url:
http://www.sagemath.org/doc/paper-letter/
It's also outdated, I should find the updates ;)
H
On Dec 3, 12:57 am, "Kevin Loranger" <[EMAIL PROTECTED]> wrote:
> http://modular.math.washington.edu/sage/paper-letter/
>
> Kevin
-
System wide, it works fine:
[EMAIL PROTECTED]:~/sagefiles/sage-3.2.rc0$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _tkinter
>>> import Tkinter
In Sage it d
Hi,
Do you have tcl-devel and tk-devel installed? I would expect that
these are also needed when python is being built.
Adam
On Dec 3, 2:50 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I wonder if anyone here knows how to get sage's python to recognize
> tcl/tk? In other words, I wou
Stan Schymanski wrote:
> Dear all,
>
> Could anyone tell me how to controll the order in which arguments are
> evaluated when they are passed to python functions? It seems that the
> functions are evaluated first and then the variables are substituted,
> which leads to failures in the following e
Dear all,
Could anyone tell me how to controll the order in which arguments are
evaluated when they are passed to python functions? It seems that the
functions are evaluated first and then the variables are substituted,
which leads to failures in the following example:
var('c')
def piece(c,x):
Hi:
I wonder if anyone here knows how to get sage's python to recognize
tcl/tk? In other words, I would like
sage: import _tkinter
and
sage: import Tkinter
to work and not raise an ImportError.
BTW, tcl/tk 8,4 is installed:
[EMAIL PROTECTED]:~/sagefiles/sage-3.2.rc0$ whereis tcl
tcl: /usr/lib/t
Mathematica does have some extra abilities in 3D graphics compared
with Sage. We do have the infrastructure in place to catch up though,
I hope to help with things like this soon.
I think for your example Sage isn't handling the multiple roots
properly; I'm not sure how to really fix that but I
Does this help?
sage: n=factorial(30)
sage: [Factorization([pe]) for pe in n.factor()]
[2^26, 3^14, 5^7, 7^4, 11^2, 13^2, 17, 19, 23, 29]
sage: x = polygen(GF(3))
sage: f = cyclotomic_polynomial(120)(x)
sage: [Factorization([pe]) for pe in f.factor()]
[(x^4 + x^2 + x + 1)^2,
(x^4 + x^2 + 2*x
Dear Tim,
perhaps the following is a better explanation.
In the above situation, "for X in F" yields a list of pairs (x-1,2), (x
+1,2) etc. In particular, X is not a polynomial. It is a pair, formed
by a polynomial and a number.
Hence, I am *not* applying a function called "Factorization" to so
Dear Tim,
On Dec 3, 10:57 am, Tim Lahey <[EMAIL PROTECTED]> wrote:
-- snip --
> Yes, and it's what someone else told me earlier in this thread.
Where? I only found your own suggestion [(i^j).factor() for i,j in f].
But this is likely not a good idea, because
* i^j is computed (may take time),
On Dec 3, 2008, at 4:50 AM, Simon King wrote:
Dear Tim,
On Dec 3, 7:15 am, Tim Lahey <[EMAIL PROTECTED]> wrote:
No, because I want instead of something like
[(x-2,2),(x-3,3)]
I'd like
[(x-2)^2,(x-3)^3]
You may do this:
Start with a factorization of something:
sage: f=factor(16200)
Dear Tim,
On Dec 3, 7:15 am, Tim Lahey <[EMAIL PROTECTED]> wrote:
> No, because I want instead of something like
> [(x-2,2),(x-3,3)]
>
> I'd like
> [(x-2)^2,(x-3)^3]
You may do this:
Start with a factorization of something:
sage: f=factor(16200)
sage: f
2^3 * 3^4 * 5^2
"for X in f"
On Tue, 2 Dec 2008 15:11:19 -0800 (PST)
Stan Schymanski <[EMAIL PROTECTED]> wrote:
>
> Hi Robert,
>
> On Dec 2, 5:50 am, Robert Bradshaw <[EMAIL PROTECTED]>
> wrote:
>
> > Are you saying you would like to pass in a domain when creating the
> > variables? Something like
> >
> > sage: var('omega
Dear Robert,
Thanks a lot for the ultra-quick solution! Sorry about that, should have
looked more closely at the docstring.
Cheers
Stan
Robert Bradshaw wrote:
> No, it's an inconsistency in the interface. numerical_integral
> assumes a single free variable, so it doesn't accept that as an
On Dec 3, 2008, at 12:46 AM, Stan Schymanski wrote:
>
> There seems to be a bug in numerical_integral in sage 3.2:
>
> --
> | Sage Version 3.2, Release Date: 2008-11-20 |
> | Type notebook() for the GUI, a
There seems to be a bug in numerical_integral in sage 3.2:
--
| Sage Version 3.2, Release Date: 2008-11-20 |
| Type notebook() for the GUI, and license() for information.|
-
Dear all,
I would like to evaluate a symbolic equation containing an integral
numerically:
((integrate(250*cos(pi*x/180)^1.8 + 170.35,x,0,18)/a_v)(a_v=1)).n()
does not work. Is there a way of doing this? The real equation is a
lot longer than the above, so I am looking for a simple automatic way.
67 matches
Mail list logo